mirrored_repositories/localsend/common/lib/src
/// A simple class that provides an id.
class IdProvider {
  int _id = 0;

  /// Returns the next id.
  int getNextId() => _id++;

  /// Resets the id to 0.
  void reset() => _id = 0;
}
