ReferenceReceipt class

Constructors

ReferenceReceipt({String? asOf, int? keys, String? refusal, String? source_, String? version})
Returns a new ReferenceReceipt instance.

Properties

asOf ↔ String?
AsOf is when the load happened, RFC 3339. Absent is dated on arrival, which can only make the list look older than it is.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
keys ↔ int?
Keys is how many designations that load carried. Zero from a publisher who designates somebody is a failed load wearing a successful one's clothes, and belongs in Refusal instead.
getter/setter pair
refusal ↔ String?
Refusal is why the load failed, when it did.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source_ ↔ String?
Source is the publisher this receipt is for.
getter/setter pair
version ↔ String?
Version is the digest of what that publisher supplied, so a refresh that changed nothing can be told from a refresh that did not run.
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) → ReferenceReceipt?
Returns a new ReferenceReceipt instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ReferenceReceipt>
mapFromJson(dynamic json) → Map<String, ReferenceReceipt>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ReferenceReceipt>>

Constants

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