veilidchat/lib/router/cubit/router_state.dart
Christien Rioux 9bb20f4dd2 concurrency work in prep for speeding things up
refactor splash screen to process initialization in a better way
more async tools for async cubit constructors
greatly improved StateMapFollower class
2024-04-03 21:55:49 -04:00

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>);
}