SupportedLanguage.fromJson constructor

SupportedLanguage.fromJson(
  1. Map json_
)

Implementation

SupportedLanguage.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        languageCode: json_.containsKey('languageCode')
            ? json_['languageCode'] as core.String
            : null,
        supportSource: json_.containsKey('supportSource')
            ? json_['supportSource'] as core.bool
            : null,
        supportTarget: json_.containsKey('supportTarget')
            ? json_['supportTarget'] as core.bool
            : null,
      );