DVNetwork class

DV.Platform.network.

Constructors

DVNetwork()
const

Properties

canReachTheServer → bool
Whether a request is worth making.
no setter
changes → Stream<DVNetworkStatus>
Each change. An unchanged report is not one.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
since → DateTime?
When status last changed, or null if nothing has reported yet.
no setter
status → DVNetworkStatus
What the platform last reported, or DVNetworkStatus.unknown on a target whose binding is not registered.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
watch(BuildContext context) → DVNetworkStatus
The status, rebuilding the widget context belongs to when it changes.

Operators

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