DatasetReq class
Constructors
-
DatasetReq({String? description, Map<
String, Object> metadata = const {}, required String name}) - Returns a new DatasetReq instance.
Properties
- description ↔ String?
-
Description is free text about what this set measures; over 64 KiB is refused.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
-
metadata
↔ Map<
String, Object> -
Metadata is a free-form object stored with the set and echoed back verbatim.
getter/setter pair
- name ↔ String
-
Name is the dataset's org-unique handle and the segment that will address it, so it must match ^
A-Za-z0-9._-{0,63}$.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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) → DatasetReq? -
Returns a new DatasetReq instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< DatasetReq> -
mapFromJson(
dynamic json) → Map< String, DatasetReq> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< DatasetReq> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.