ReferenceSource class

Constructors

ReferenceSource({String? asOf, String? basis, int? keys, String? origin, String? refusal, String? source_, String? terms, String? version})
Returns a new ReferenceSource instance.

Properties

asOf ↔ String?
AsOf is when this publisher was current, RFC 3339.
getter/setter pair
basis ↔ String?
Basis is the KIND of permission this publisher's data reaches you under: licence (an explicit grant), registry (the registry of record publishing for anyone to consult), operator (an operator's own machine-readable statement about its own network, published for third parties to filter by — not a licence, and not claimed as one), own (computed here), or none (nothing reaches you: the membership is held by the component that screens against it). It is on the wire so the licence position is an audit you can run.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
keys ↔ int?
Keys is how many members this publisher contributed.
getter/setter pair
origin ↔ String?
Origin is exactly where it was taken from, so it can be taken again.
getter/setter pair
refusal ↔ String?
Refusal is why this publisher's last take failed, if it did. The set keeps its previous version of this source and ages out visibly rather than silently shrinking.
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
terms ↔ String?
Terms is the CITATION that basis points at — the licence identifier, the registry, or the operator publication. A source with no stated terms is not in the catalog.
getter/setter pair
version ↔ String?
Version is the content digest of what this publisher last supplied. Two refreshes that agree on it took the same data.
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) → ReferenceSource?
Returns a new ReferenceSource instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ReferenceSource>
mapFromJson(dynamic json) → Map<String, ReferenceSource>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ReferenceSource>>

Constants

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