mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-01-16 10:07:23 -05:00
9bb20f4dd2
refactor splash screen to process initialization in a better way more async tools for async cubit constructors greatly improved StateMapFollower class
12 lines
305 B
Dart
12 lines
305 B
Dart
part of 'router_cubit.dart';
|
|
|
|
@freezed
|
|
class RouterState with _$RouterState {
|
|
const factory RouterState(
|
|
{required bool hasAnyAccount,
|
|
required bool hasActiveChat}) = _RouterState;
|
|
|
|
factory RouterState.fromJson(dynamic json) =>
|
|
_$RouterStateFromJson(json as Map<String, dynamic>);
|
|
}
|