DVPlatformHosts class abstract final

The registered hosts. Reached through DV.Platform.registerHost.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

active → List<DVPlatformHost>
The registered hosts that are active now.
no setter
all → List<DVPlatformHost>
Every registered host, in registration order.
no setter
fileStorage → DVFileStorageAdapter?
The first active host's storage, or null.
no setter

Static Methods

attachRouter(GoRouter router) → void
Tells every active host about router.
byId(String id) → DVPlatformHost?
detachRouter() → void
hasFlag(String flag) → bool
Whether any active host carries flag.
register(DVPlatformHost host) → void
reset() → void
Forgets every host. For tests.
signInCredential(String provider) → DVHostCredential?
unregister(String id) → void