SupportedLanguages.fromJson constructor

SupportedLanguages.fromJson(
  1. Map json_
)

Implementation

SupportedLanguages.fromJson(core.Map json_)
    : this(
        languages: json_.containsKey('languages')
            ? (json_['languages'] as core.List)
                .map((value) => SupportedLanguage.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );