Language.fromMap constructor

Language.fromMap(
  1. Map<String, String> map
)

Implementation

Language.fromMap(Map<String, String> map)
    : name = map['name']!,
      isoCode = map['isoCode']!,
      nativeName = map['nativeName'] ?? map['name']!;