CNPProvenance class
Where one metric came from and under what terms it may be republished.
Constructors
-
CNPProvenance(List<
int> bytes) -
factory
Properties
- ATTRIBUTION → String?
-
Attribution string the licence requires this record and every derived
product to carry downstream.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- LICENSE → String?
-
SPDX identifier when the source states one, otherwise the licence name
verbatim. EMPTY MEANS UNKNOWN TERMS — never public domain, and never a
grant to republish.
no setter
- LICENSE_URL → String?
-
URL of the licence text.
no setter
- licenseUrl → String?
-
no setter
- MEASUREMENT_SERVER → String?
-
Measurement server, vantage point or probe set, when the source names
one. A throughput number without a vantage is not comparable to one
with a different vantage.
no setter
- measurementServer → String?
-
no setter
- METHOD → cnpMethod
-
How the underlying observations were produced.
no setter
- NON_COMMERCIAL_ONLY → bool
-
True when the licence forbids commercial use (e.g. CC BY-NC 4.0). A
consumer building a paid surface MUST honour this flag; it is carried
per-source because one $CNP may mix a CC0 lane with a CC BY-NC
cross-check.
no setter
- nonCommercialOnly → bool
-
no setter
- RETRIEVED_AT → String?
-
ISO 8601 UTC time the source was queried.
no setter
- retrievedAt → String?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- SOURCE → String?
-
Name of the organization or programme publishing the underlying
measurements, carried verbatim as that publisher states it.
no setter
- SOURCE_DATASET → String?
-
Dataset, table or API path queried, verbatim, e.g. a fully qualified
warehouse table name or a REST route.
no setter
- SOURCE_QUERY → String?
-
The exact query or request that produced these numbers, so the
aggregate can be replayed rather than trusted.
no setter
- SOURCE_RECORD_ID → String?
-
Source's own identifier for the returned batch, when it issues one.
no setter
- SOURCE_SHA256 → String?
-
SHA-256 of the raw source bytes this aggregate was computed from,
lowercase hex.
no setter
- SOURCE_URL → String?
-
URL of the dataset, endpoint or landing page.
no setter
- sourceDataset → String?
-
no setter
- sourceQuery → String?
-
no setter
- sourceRecordId → String?
-
no setter
- sourceSha256 → String?
-
no setter
- sourceUrl → String?
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
reader
→ const Reader<
CNPProvenance>