GlossaryEntry.fromJson constructor
GlossaryEntry.fromJson(
- Map json_
Implementation
GlossaryEntry.fromJson(core.Map json_)
: this(
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
termsPair: json_.containsKey('termsPair')
? GlossaryTermsPair.fromJson(
json_['termsPair'] as core.Map<core.String, core.dynamic>)
: null,
termsSet: json_.containsKey('termsSet')
? GlossaryTermsSet.fromJson(
json_['termsSet'] as core.Map<core.String, core.dynamic>)
: null,
);