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