mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2024-12-26 08:09:37 -05:00
13 lines
340 B
Dart
13 lines
340 B
Dart
part of 'router_cubit.dart';
|
|
|
|
@freezed
|
|
class RouterState with _$RouterState {
|
|
const factory RouterState(
|
|
{required bool isInitialized,
|
|
required bool hasAnyAccount,
|
|
required bool hasActiveChat}) = _RouterState;
|
|
|
|
factory RouterState.fromJson(dynamic json) =>
|
|
_$RouterStateFromJson(json as Map<String, dynamic>);
|
|
}
|