RiskDatasetRows class

Constructors

RiskDatasetRows({String? dataset, String? digest, List<String> dims = const [], int? limit, int? offset, List<RiskDatasetRow> rows = const [], int? version})
Returns a new RiskDatasetRows instance.

Properties

dataset ↔ String?
Dataset is the dataset the page was read from.
getter/setter pair
digest ↔ String?
Digest is the version's fingerprint. An exported page that did not carry it would be bytes with no way to say which dataset they are.
getter/setter pair
dims ↔ List<String>
Dims names what each coordinate of Point means, in Point's own order.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
limit ↔ int?
Limit is the page size actually served: the one asked for, clamped to the plane's own bound of 5000. Fewer rows than Limit means the version ended.
getter/setter pair
offset ↔ int?
Offset is where this page starts in the version's own row order, which is by row id and therefore stable forever.
getter/setter pair
rows ↔ List<RiskDatasetRow>
Rows is the page. Never null.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version ↔ int?
Version is which published version it was read from — the one asked for, or the newest published one when the request named none.
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) → RiskDatasetRows?
Returns a new RiskDatasetRows instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<RiskDatasetRows>
mapFromJson(dynamic json) → Map<String, RiskDatasetRows>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<RiskDatasetRows>>

Constants

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