NetworkView class

Constructors

NetworkView({String? id, String? name, int? nodes, String? status})
Returns a new NetworkView instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the org-derived id of the overlay network — the key GET /v1/network/{id} addresses.
getter/setter pair
name ↔ String?
Name is the org the overlay belongs to.
getter/setter pair
nodes ↔ int?
Nodes is how many edge-routers the org has on the fabric.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status ↔ String?
Status is "connected" once at least one of the org's edge-routers is online, else "provisioning" (routers exist but none has dialed home).
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJson(dynamic value) → NetworkView?
Returns a new NetworkView instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<NetworkView>
mapFromJson(dynamic json) → Map<String, NetworkView>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<NetworkView>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.