get
.get key:{String}
from:{Map<String, Any>}
orelse:{Dynamic = DynamicValue(NOT_FOUND)}
-> Any
Content copied to clipboard
Gets a value from a dictionary by its key.
Return
value corresponding to the given key, or NOT_FOUND if the key is not present
Parameters
key
key to get the value of
from
- Likely named
dictionary to get the value from
orelse
- Optional
- Likely named
value to return if the key is not present. If unset, false
is returned.