MapStringDynamicExtension extension
Properties
- prettyJSON → String
-
Available on Map<
Generates a idented JSON string.String, dynamic> , provided by the MapStringDynamicExtension extensionno setter
Methods
-
getDateTime(
String key) → DateTime -
Available on Map<
Reads the value from the given key, and process it to returns a DateTime.String, dynamic> , provided by the MapStringDynamicExtension extension -
getDouble(
String key) → double -
Available on Map<
Retrieves a value from the map by the providedString, dynamic> , provided by the MapStringDynamicExtension extensionkey
and converts it to a double. -
getList<
T> (String key, T? parser(dynamic item)) → List< T> -
Available on Map<
Tries to retrieve a value from the map by the providedString, dynamic> , provided by the MapStringDynamicExtension extensionkey
and convert it to a list of typeT
. -
tryGetDateTime(
String key) → DateTime? -
Available on Map<
Reads a value from the Map and returns it as a DateTime, if possible.String, dynamic> , provided by the MapStringDynamicExtension extension -
tryGetDouble(
String key) → double? -
Available on Map<
Tries to retrieve a value from the map by the providedString, dynamic> , provided by the MapStringDynamicExtension extensionkey
and convert it to a double.