GraphResolveOut class

Constructors

GraphResolveOut({String? asOf, List<WireFact> conflicts = const [], bool? contested, String? entity, bool? known, String? relation, bool? truncated, WireFact? winner})
Returns a new GraphResolveOut instance.

Properties

asOf ↔ String?
AsOf is the instant this answer was taken at, RFC 3339: the one asked for, or the server's clock when none was.
getter/setter pair
conflicts ↔ List<WireFact>
Conflicts is every OTHER assertion knowable at AsOf, strongest first. They are not all disagreements: one that repeats the winner's value ranks below it and is listed here too.
getter/setter pair
contested ↔ bool?
Contested is true when at least one conflict claims a value different from the winner's. Any number of conflicts that all agree leaves it false.
getter/setter pair
entity ↔ String?
Entity is the entity the question named, echoed so a stored answer still says what it is about.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
known ↔ bool?
Known is false when this plane held nothing knowable at AsOf. That is an answer, not an error.
getter/setter pair
relation ↔ String?
Relation is the relation the question named, echoed for the same reason.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
truncated ↔ bool?
Truncated says this pair holds more assertions than one read returns, so the winner was decided from the most recent ceiling-full of them. It is reported because a provenance plane that trims silently is a plane that answers confidently and wrongly; narrow the question with as_of to see what it dropped.
getter/setter pair
winner ↔ WireFact?
Winner is the assertion in force — the strongest of those knowable at AsOf under the order rule names. Absent exactly when Known is false.
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) → GraphResolveOut?
Returns a new GraphResolveOut instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<GraphResolveOut>
mapFromJson(dynamic json) → Map<String, GraphResolveOut>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<GraphResolveOut>>

Constants

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