mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-08-07 13:42:16 -04:00
more debugging
This commit is contained in:
parent
9219e1307e
commit
5cec423351
13 changed files with 424 additions and 708 deletions
|
@ -118,7 +118,7 @@ class __$$RouterStateImplCopyWithImpl<$Res>
|
|||
|
||||
/// @nodoc
|
||||
@JsonSerializable()
|
||||
class _$RouterStateImpl implements _RouterState {
|
||||
class _$RouterStateImpl with DiagnosticableTreeMixin implements _RouterState {
|
||||
const _$RouterStateImpl(
|
||||
{required this.isInitialized,
|
||||
required this.hasAnyAccount,
|
||||
|
@ -135,10 +135,20 @@ class _$RouterStateImpl implements _RouterState {
|
|||
final bool hasActiveChat;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
|
||||
return 'RouterState(isInitialized: $isInitialized, hasAnyAccount: $hasAnyAccount, hasActiveChat: $hasActiveChat)';
|
||||
}
|
||||
|
||||
@override
|
||||
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
|
||||
super.debugFillProperties(properties);
|
||||
properties
|
||||
..add(DiagnosticsProperty('type', 'RouterState'))
|
||||
..add(DiagnosticsProperty('isInitialized', isInitialized))
|
||||
..add(DiagnosticsProperty('hasAnyAccount', hasAnyAccount))
|
||||
..add(DiagnosticsProperty('hasActiveChat', hasActiveChat));
|
||||
}
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue