ReferenceTaken class

Constructors

ReferenceTaken({int? keys, String? refusal, bool? resumed, String? source_, bool? unchanged, String? version, int? wrote})
Returns a new ReferenceTaken instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
keys ↔ int?
Keys is how many members it carries.
getter/setter pair
refusal ↔ String?
Refusal is why this publisher contributed nothing, if it did not. The set keeps its previous version of this source rather than shrinking.
getter/setter pair
resumed ↔ bool?
Resumed is true when this run continued a version a previous run left half-landed.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source_ ↔ String?
Source is the publisher.
getter/setter pair
unchanged ↔ bool?
Unchanged is true when the publisher's data was byte-for-byte the set we already held.
getter/setter pair
version ↔ String?
Version is the content digest that landed.
getter/setter pair
wrote ↔ int?
Wrote is how many rows this run actually wrote. Zero with Unchanged means the publisher served the same set again.
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) → ReferenceTaken?
Returns a new ReferenceTaken instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ReferenceTaken>
mapFromJson(dynamic json) → Map<String, ReferenceTaken>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ReferenceTaken>>

Constants

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