NetworkState class abstract

Constructors

NetworkState([dynamic updates(NetworkStateBuilder b)])
factory

Properties

apiEndpoint → Endpoint
no setter
endpoints → BuiltList<Endpoint>
no setter
hashCode → int
The hash code for this object.
no setterinherited
https → bool
no setter
isLoading → bool
no setter
lastApiError → ApiError?
no setter
networkCompletionStack → BuiltMap<String, bool>
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
token → String
no setter
usedEndpoints → BuiltList<Endpoint>
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(NetworkStateBuilder b)) → NetworkState
Rebuilds the instance.
inherited
toBuilder() → NetworkStateBuilder
Converts the instance to a builder B.
inherited
toJson() → String
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<NetworkState>
no setter

Static Methods

fromJson(dynamic jsonString) → NetworkState?
initial() → NetworkState