LanguageCodePair.fromJson constructor

LanguageCodePair.fromJson(
  1. Map json_
)

Implementation

LanguageCodePair.fromJson(core.Map json_)
    : this(
        sourceLanguageCode: json_.containsKey('sourceLanguageCode')
            ? json_['sourceLanguageCode'] as core.String
            : null,
        targetLanguageCode: json_.containsKey('targetLanguageCode')
            ? json_['targetLanguageCode'] as core.String
            : null,
      );