ResolveReferenceOut class
Constructors
-
ResolveReferenceOut({List<
ReferenceAnswer> answers = const [], List<ReferenceVersion> consulted = const [], List<String> refused = const [], List<String> stale = const []}) - Returns a new ResolveReferenceOut instance.
Properties
-
answers
↔ List<
ReferenceAnswer> -
Answers is one entry per (set, key) consulted.
getter/setter pair
-
consulted
↔ List<
ReferenceVersion> -
Consulted names the version of every set that took part, so a decision can record precisely what it leaned on. Record this with the decision: it is what makes the decision reproducible a year later.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
-
refused
↔ List<
String> -
Refused names the consulted sets that could not answer at all. A key that missed in one of these is UNKNOWN, not clean.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stale
↔ List<
String> -
Stale names the consulted sets past their freshness bound. Staleness is itself a risk signal — a decision taken against a three-week-old list is a weaker decision, and this is how it knows.
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) → ResolveReferenceOut? -
Returns a new ResolveReferenceOut instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< ResolveReferenceOut> -
mapFromJson(
dynamic json) → Map< String, ResolveReferenceOut> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< ResolveReferenceOut> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.