MetaData class

A user meta key and its values.

Constructors

MetaData({String? key, List? value})
MetaData.fromJson(String key, dynamic value)
Creates a MetaData from a key and its value. A single value is wrapped in a list.

Properties

hashCode → int
The hash code for this object.
no setterinherited
key ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value ↔ List?
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.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

listFromJson(dynamic json) → List<MetaData>?
Parses a meta_data map of key -> list of values.
listToJson(List<MetaData> metaData) → Map<String, dynamic>
Converts a list of MetaData back to a meta_data map.