IndicatorStatusModel class sealed
- Available extensions
- Annotations
-
- @freezed
Constructors
- IndicatorStatusModel.empty(@_igjson RefreshBase refreshBase)
-
注意要处理 sliver组件
factory
- IndicatorStatusModel.error({@_igjson Object? error, @_igjson StackTrace? stackTrace, @_igjson required RefreshBase refreshBase})
-
factory
- IndicatorStatusModel.fullScreenBusying()
-
注意要处理 sliver组件
factory
- IndicatorStatusModel.fullScreenError({@_igjson Object? error, @_igjson StackTrace? stackTrace, @_igjson required RefreshBase refreshBase})
-
注意要处理 sliver 组件
factory
- IndicatorStatusModel.loadingMoreBusying()
-
factory
- IndicatorStatusModel.noMoreLoad()
-
factory
- IndicatorStatusModel.none()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
Available on IndicatorStatusModel, provided by the IndicatorStatusModelEx extension
no setter - isFullLoading → bool
-
Available on IndicatorStatusModel, provided by the IndicatorStatusModelEx extension
no setter - isLoadingMore → bool
-
Available on IndicatorStatusModel, provided by the IndicatorStatusModelEx extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
map<
TResult extends Object?> ({required TResult none(IndicatorStatusModelWithNone value), required TResult empty(IndicatorStatusModelWithEmpty value), required TResult loadingMoreBusying(IndicatorStatusModelWithLoadingMoreBusying value), required TResult fullScreenBusying(IndicatorStatusModelWithFullScreenBusying value), required TResult error(IndicatorStatusModelWithError value), required TResult fullScreenError(IndicatorStatusModelWithFullScreenError value), required TResult noMoreLoad(IndicatorStatusModelWithNoMoreLoad value)}) → TResult -
Available on IndicatorStatusModel, provided by the IndicatorStatusModelPatterns extension
Aswitch
-like method, using callbacks. -
mapOrNull<
TResult extends Object?> ({TResult? none(IndicatorStatusModelWithNone value)?, TResult? empty(IndicatorStatusModelWithEmpty value)?, TResult? loadingMoreBusying(IndicatorStatusModelWithLoadingMoreBusying value)?, TResult? fullScreenBusying(IndicatorStatusModelWithFullScreenBusying value)?, TResult? error(IndicatorStatusModelWithError value)?, TResult? fullScreenError(IndicatorStatusModelWithFullScreenError value)?, TResult? noMoreLoad(IndicatorStatusModelWithNoMoreLoad value)?}) → TResult? -
Available on IndicatorStatusModel, provided by the IndicatorStatusModelPatterns extension
A variant ofmap
that fallback to returningnull
. -
maybeMap<
TResult extends Object?> ({TResult none(IndicatorStatusModelWithNone value)?, TResult empty(IndicatorStatusModelWithEmpty value)?, TResult loadingMoreBusying(IndicatorStatusModelWithLoadingMoreBusying value)?, TResult fullScreenBusying(IndicatorStatusModelWithFullScreenBusying value)?, TResult error(IndicatorStatusModelWithError value)?, TResult fullScreenError(IndicatorStatusModelWithFullScreenError value)?, TResult noMoreLoad(IndicatorStatusModelWithNoMoreLoad value)?, required TResult orElse()}) → TResult -
Available on IndicatorStatusModel, provided by the IndicatorStatusModelPatterns extension
A variant ofmap
that fallback to returningorElse
. -
maybeWhen<
TResult extends Object?> ({TResult none()?, TResult empty(RefreshBase refreshBase)?, TResult loadingMoreBusying()?, TResult fullScreenBusying()?, TResult error(Object? error, StackTrace? stackTrace, RefreshBase refreshBase)?, TResult fullScreenError(Object? error, StackTrace? stackTrace, RefreshBase refreshBase)?, TResult noMoreLoad()?, required TResult orElse()}) → TResult -
Available on IndicatorStatusModel, provided by the IndicatorStatusModelPatterns extension
A variant ofwhen
that fallback to anorElse
callback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
when<
TResult extends Object?> ({required TResult none(), required TResult empty(RefreshBase refreshBase), required TResult loadingMoreBusying(), required TResult fullScreenBusying(), required TResult error(Object? error, StackTrace? stackTrace, RefreshBase refreshBase), required TResult fullScreenError(Object? error, StackTrace? stackTrace, RefreshBase refreshBase), required TResult noMoreLoad()}) → TResult -
Available on IndicatorStatusModel, provided by the IndicatorStatusModelPatterns extension
Aswitch
-like method, using callbacks. -
whenOrNull<
TResult extends Object?> ({TResult? none()?, TResult? empty(RefreshBase refreshBase)?, TResult? loadingMoreBusying()?, TResult? fullScreenBusying()?, TResult? error(Object? error, StackTrace? stackTrace, RefreshBase refreshBase)?, TResult? fullScreenError(Object? error, StackTrace? stackTrace, RefreshBase refreshBase)?, TResult? noMoreLoad()?}) → TResult? -
Available on IndicatorStatusModel, provided by the IndicatorStatusModelPatterns extension
A variant ofwhen
that fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited