LanguagesListResponse.fromJson constructor

LanguagesListResponse.fromJson(
  1. Map json_
)

Implementation

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