nc-photos/app/lib/bloc_util.dart

14 lines
315 B
Dart
Raw Normal View History

2023-06-18 16:26:19 +02:00
abstract class BlocLogger {
String? get tag => null;
bool Function(dynamic currentState, dynamic nextState)? get shouldLog => null;
}
2023-05-29 18:55:10 +02:00
/// 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;
}