DatasetView class
Constructors
-
DatasetView({String? createdAt, String? description, int? items, Map<
String, Object> metadata = const {}, String? name, String? updatedAt}) - Returns a new DatasetView instance.
Properties
- createdAt ↔ String?
-
CreatedAt is when the name was first written, kept across later edits.
getter/setter pair
- description ↔ String?
-
Description is free text the org wrote about what this set measures.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- items ↔ int?
-
Items is how many examples the set holds. It is filled only by the single read — a listing does not count, so it is absent there rather than zero.
getter/setter pair
-
metadata
↔ Map<
String, Object> -
Metadata is the free-form object stored with the set, echoed back verbatim.
getter/setter pair
- name ↔ String?
-
Name is the dataset's org-unique handle and the segment that addresses it.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updatedAt ↔ String?
-
UpdatedAt is when the description or metadata last changed.
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) → DatasetView? -
Returns a new DatasetView instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< DatasetView> -
mapFromJson(
dynamic json) → Map< String, DatasetView> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< DatasetView> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.