Glossary.fromJson constructor

Glossary.fromJson(
  1. Map json_
)

Implementation

Glossary.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        entryCount: json_.containsKey('entryCount')
            ? json_['entryCount'] as core.int
            : null,
        inputConfig: json_.containsKey('inputConfig')
            ? GlossaryInputConfig.fromJson(
                json_['inputConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        languageCodesSet: json_.containsKey('languageCodesSet')
            ? LanguageCodesSet.fromJson(json_['languageCodesSet']
                as core.Map<core.String, core.dynamic>)
            : null,
        languagePair: json_.containsKey('languagePair')
            ? LanguageCodePair.fromJson(
                json_['languagePair'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        submitTime: json_.containsKey('submitTime')
            ? json_['submitTime'] as core.String
            : null,
      );