mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 17:26:18 +01:00
528699d7c5
This is no longer supported in the revamped code
51 lines
817 B
Dart
51 lines
817 B
Dart
part of '../photos_settings.dart';
|
|
|
|
@genCopyWith
|
|
@toString
|
|
class _State {
|
|
const _State({
|
|
required this.isEnableMemories,
|
|
required this.memoriesRange,
|
|
this.error,
|
|
});
|
|
|
|
@override
|
|
String toString() => _$toString();
|
|
|
|
final bool isEnableMemories;
|
|
final int memoriesRange;
|
|
|
|
final ExceptionEvent? error;
|
|
}
|
|
|
|
abstract class _Event {
|
|
const _Event();
|
|
}
|
|
|
|
@toString
|
|
class _Init implements _Event {
|
|
const _Init();
|
|
|
|
@override
|
|
String toString() => _$toString();
|
|
}
|
|
|
|
@toString
|
|
class _SetEnableMemories implements _Event {
|
|
const _SetEnableMemories(this.value);
|
|
|
|
@override
|
|
String toString() => _$toString();
|
|
|
|
final bool value;
|
|
}
|
|
|
|
@toString
|
|
class _SetMemoriesRange implements _Event {
|
|
const _SetMemoriesRange(this.value);
|
|
|
|
@override
|
|
String toString() => _$toString();
|
|
|
|
final int value;
|
|
}
|