mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-03 23:36:19 +01:00
36 lines
583 B
Dart
36 lines
583 B
Dart
|
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;
|
||
|
}
|