mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 17:26:18 +01:00
39 lines
599 B
Dart
39 lines
599 B
Dart
part of '../collection_settings.dart';
|
|
|
|
@genCopyWith
|
|
@toString
|
|
class _State {
|
|
const _State({
|
|
required this.isBrowserShowDate,
|
|
this.error,
|
|
});
|
|
|
|
@override
|
|
String toString() => _$toString();
|
|
|
|
final bool isBrowserShowDate;
|
|
|
|
final ExceptionEvent? error;
|
|
}
|
|
|
|
abstract class _Event {
|
|
const _Event();
|
|
}
|
|
|
|
@toString
|
|
class _Init implements _Event {
|
|
const _Init();
|
|
|
|
@override
|
|
String toString() => _$toString();
|
|
}
|
|
|
|
@toString
|
|
class _SetBrowserShowDate implements _Event {
|
|
const _SetBrowserShowDate(this.value);
|
|
|
|
@override
|
|
String toString() => _$toString();
|
|
|
|
final bool value;
|
|
}
|