VoDashboardState class abstract
- Available extensions
- Annotations
-
- @freezed
Constructors
-
VoDashboardState({VoDashboardPane? currentPane, @Default.new([]) List<
VoDashboardPane> dockPanes, @Default.new([]) List<VoDashboardPane> drawerPanes, @Default.new([]) List<VoDashboardPane> endDrawerPanes, @Default.new([]) List<VoDashboardPane> registry, @Default.new([]) List<VoPage> flowPages, @Default.new(false) bool canPopShell, @Default.new(false) bool isInitialized}) -
constfactory
Properties
- canPopShell → bool
-
no setterinherited
-
copyWith
→ $VoDashboardStateCopyWith<
VoDashboardState> -
Create a copy of VoDashboardState
with the given fields replaced by the non-null parameter values.
no setterinherited
- currentPane → VoDashboardPane?
-
no setterinherited
- currentPaneKey → String?
-
no setter
-
dockPanes
→ List<
VoDashboardPane> -
no setterinherited
-
drawerPanes
→ List<
VoDashboardPane> -
no setterinherited
-
endDrawerPanes
→ List<
VoDashboardPane> -
no setterinherited
-
flowPages
→ List<
VoPage> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInitialized → bool
-
no setterinherited
-
registry
→ List<
VoDashboardPane> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
hasSite(
VoDashboardSite site) → bool -
map<
TResult extends Object?> (TResult $default(_VoDashboardState value)) → TResult -
Available on VoDashboardState, provided by the VoDashboardStatePatterns extension
Aswitch-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_VoDashboardState value)?) → TResult? -
Available on VoDashboardState, provided by the VoDashboardStatePatterns extension
A variant ofmapthat fallback to returningnull. -
maybeMap<
TResult extends Object?> (TResult $default(_VoDashboardState value)?, {required TResult orElse()}) → TResult -
Available on VoDashboardState, provided by the VoDashboardStatePatterns extension
A variant ofmapthat fallback to returningorElse. -
maybeWhen<
TResult extends Object?> (TResult $default(VoDashboardPane? currentPane, List< VoDashboardPane> dockPanes, List<VoDashboardPane> drawerPanes, List<VoDashboardPane> endDrawerPanes, List<VoDashboardPane> registry, List<VoPage> flowPages, bool canPopShell, bool isInitialized)?, {required TResult orElse()}) → TResult -
Available on VoDashboardState, provided by the VoDashboardStatePatterns extension
A variant ofwhenthat fallback to anorElsecallback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paneByKey(
String key) → VoDashboardPane? -
panesFor(
VoDashboardSite site) → List< VoDashboardPane> -
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(VoDashboardPane? currentPane, List< VoDashboardPane> dockPanes, List<VoDashboardPane> drawerPanes, List<VoDashboardPane> endDrawerPanes, List<VoDashboardPane> registry, List<VoPage> flowPages, bool canPopShell, bool isInitialized)) → TResult -
Available on VoDashboardState, provided by the VoDashboardStatePatterns extension
Aswitch-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(VoDashboardPane? currentPane, List< VoDashboardPane> dockPanes, List<VoDashboardPane> drawerPanes, List<VoDashboardPane> endDrawerPanes, List<VoDashboardPane> registry, List<VoPage> flowPages, bool canPopShell, bool isInitialized)?) → TResult? -
Available on VoDashboardState, provided by the VoDashboardStatePatterns extension
A variant ofwhenthat fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited