WorldIndex class
Constructors
-
WorldIndex({String? product, String? summary, List<
WorldWire> wires = const []}) - Returns a new WorldIndex instance.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- product ↔ String?
-
Product is the product's name as customers know it.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- summary ↔ String?
-
Summary is one sentence naming what this surface serves.
getter/setter pair
-
wires
↔ List<
WorldWire> -
Wires is every protocol entry point onto World, REST first. It is deliberately NOT a list of REST operations: GET /v1/openapi.json is the one enumeration of those, and a second copy here would be a second thing to keep true.
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) → WorldIndex? -
Returns a new WorldIndex instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< WorldIndex> -
mapFromJson(
dynamic json) → Map< String, WorldIndex> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< WorldIndex> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.