MapGetOr extension
Methods
-
getOrElse(
String key, dynamic defaultValue) → dynamic -
Available on Map<
Returns the value for the given key, or the result of the defaultValue if there was no entry for the given key.String, dynamic> , provided by the MapGetOr extension -
getOrNull(
String key) → dynamic -
Available on Map<
Returns the value for the given key, or null if there was no entry for the given key.String, dynamic> , provided by the MapGetOr extension