asMapOr method

Map asMapOr (Map defaultValue)

Asserts that value is a Map and returns it.

If value doesn't exist, this returns defaultValue.

Implementation

Map asMapOr(Map defaultValue) => asMap;