getMapValOr method

Map? getMapValOr(
  1. String key
)

Implementation

Map? getMapValOr(String key) {
  if (this[key] is Map) return this[key];
  return null;
}