AnalyzeEntitiesResponse.fromJson constructor
AnalyzeEntitiesResponse.fromJson(
- Map json_
Implementation
AnalyzeEntitiesResponse.fromJson(core.Map json_)
: this(
entities: json_.containsKey('entities')
? (json_['entities'] as core.List)
.map((value) => Entity.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
entityMentions: json_.containsKey('entityMentions')
? (json_['entityMentions'] as core.List)
.map((value) => EntityMention.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
fhirBundle: json_.containsKey('fhirBundle')
? json_['fhirBundle'] as core.String
: null,
relationships: json_.containsKey('relationships')
? (json_['relationships'] as core.List)
.map((value) => EntityMentionRelationship.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);