1
0
Fork 0
mirror of https://gitlab.com/nkming2/nc-photos.git synced 2025-03-20 22:28:53 +01:00
nc-photos/app/lib/bloc_util.dart
2023-06-19 01:15:11 +08:00

13 lines
315 B
Dart

abstract class BlocLogger {
String? get tag => null;
bool Function(dynamic currentState, dynamic nextState)? get shouldLog => null;
}
/// Wrap around a string such that two strings with the same value will fail
/// the identical check
class StateMessage {
StateMessage(this.value);
final String value;
}