ViewStateBase<T> class abstract

Inheritance
Implementers

Constructors

ViewStateBase({bool isLoading = false, String? errorMessage})

Properties

errorMessage → String?
finalinherited
hasError → bool
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
isLoading → bool
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearError() → T
copyWith({bool? isLoading, String? errorMessage}) → T
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
withError(String message) → T
withLoaded() → T
withLoading() → T

Operators

operator ==(Object other) → bool
The equality operator.
inherited