GlossaryTermsPair.fromJson constructor

GlossaryTermsPair.fromJson(
  1. Map json_
)

Implementation

GlossaryTermsPair.fromJson(core.Map json_)
    : this(
        sourceTerm: json_.containsKey('sourceTerm')
            ? GlossaryTerm.fromJson(
                json_['sourceTerm'] as core.Map<core.String, core.dynamic>)
            : null,
        targetTerm: json_.containsKey('targetTerm')
            ? GlossaryTerm.fromJson(
                json_['targetTerm'] as core.Map<core.String, core.dynamic>)
            : null,
      );