menu
objectx package
documentation
objectx.dart
MapReader extension
MapReader extension
dark_mode
light_mode
MapReader<
K
,
V
>
extension
Get the value in map
on
Map
<
K
,
V
>
Methods
read
<
R extends V
>
(
K
key
, [
R?
defaultValue
])
→ R?
Available on
Map
<
K
,
V
>
, provided by the
MapReader
extension
Return the value of
key
in the map if the value type is R. Otherwise, return defaultValue.
objectx package
documentation
objectx
MapReader extension
objectx library