Client class Data Models Logic

Provider of ClientState, which store List<ClientService> and ClientEntry.

Inheritance
Annotations

Constructors

Client()

Properties

allServicesOf Provider<List<ServiceOfJournal>>
read-only
apiKey String
latefinalinherited
contract String
read-only
contractId int
read-only
entry ClientEntry
latefinalinherited
hashCode int
The hash code for this object.
read-onlyinherited
name String
read-only
ref NotifierProviderRef<ClientState>
The Ref from the provider associated with this Notifier.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
services List<ClientService>
read-only
state ClientState
The value currently exposed by this Notifier.
read / writeinherited
stateOrNull ClientState?
The value currently exposed by this Notifier.
read-onlyinherited
worker Worker
read-only

Methods

build({required String apiKey, required ClientEntry entry}) ClientState
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateShouldNotify(ClientState previous, ClientState next) bool
A method invoked when the state exposed by this Notifier changes. It compares the previous and new value, and return whether listeners should be notified.
inherited

Operators

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