WorldWire class
Constructors
Properties
- auth ↔ String?
-
Auth states what the wire asks of the caller, including which parts of it answer without a token.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- name ↔ String?
-
Name is the wire's short id — rest, mcp or zap.
getter/setter pair
- path ↔ String?
-
Path is the address the wire answers on, under this same origin.
getter/setter pair
- protocol ↔ String?
-
Protocol names what the wire speaks, so a caller knows which client to point at it.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spec ↔ String?
-
Spec is where this wire's operations are enumerated, when they are enumerated in a document at all. Empty for a wire that describes itself over its own protocol.
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) → WorldWire? -
Returns a new WorldWire instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< WorldWire> -
mapFromJson(
dynamic json) → Map< String, WorldWire> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< WorldWire> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.