aves/plugins/aves_model/lib/src/settings/event.dart
2023-06-23 22:06:36 +02:00

11 lines
290 B
Dart

import 'package:meta/meta.dart';
@immutable
class SettingsChangedEvent {
final String key;
final dynamic oldValue;
final dynamic newValue;
// old and new values as stored, e.g. `List<String>` for collections
const SettingsChangedEvent(this.key, this.oldValue, this.newValue);
}