1
0
Fork 0
mirror of https://gitlab.com/nkming2/nc-photos.git synced 2025-03-12 10:18:52 +01:00
nc-photos/app/lib/widget/settings/app_lock/state_event.dart

36 lines
583 B
Dart
Raw Normal View History

2024-05-26 13:09:16 +02:00
part of '../app_lock_settings.dart';
@genCopyWith
@toString
class _State {
const _State({
required this.appLockType,
});
factory _State.init({
ProtectedPageAuthType? appLockType,
}) =>
_State(
appLockType: appLockType,
);
@override
String toString() => _$toString();
final ProtectedPageAuthType? appLockType;
}
abstract class _Event {
const _Event();
}
@toString
class _SetAppLockType implements _Event {
const _SetAppLockType(this.value);
@override
String toString() => _$toString();
final ProtectedPageAuthType? value;
}