GroupedResult.fromJson constructor
GroupedResult.fromJson(
- Map json_
Implementation
GroupedResult.fromJson(core.Map json_)
: this(
boundingPoly: json_.containsKey('boundingPoly')
? BoundingPoly.fromJson(
json_['boundingPoly'] as core.Map<core.String, core.dynamic>)
: null,
objectAnnotations: json_.containsKey('objectAnnotations')
? (json_['objectAnnotations'] as core.List)
.map((value) => ObjectAnnotation.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
results: json_.containsKey('results')
? (json_['results'] as core.List)
.map((value) => Result.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);