toMapOfStringString static method

Map<String, String> toMapOfStringString(
  1. dynamic d,
  2. Map<String, String> def
)

Converts to not-nullable map of <String, String> from dynamic

Implementation

static Map<String, String> toMapOfStringString(
    dynamic d, Map<String, String> def) {
  return toMapOfStringStringN(d) ?? def;
}