WebDetection.fromJson constructor
WebDetection.fromJson(
- Map json_
Implementation
WebDetection.fromJson(core.Map json_)
: this(
bestGuessLabels: (json_['bestGuessLabels'] as core.List?)
?.map((value) => WebLabel.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
fullMatchingImages: (json_['fullMatchingImages'] as core.List?)
?.map((value) => WebImage.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
pagesWithMatchingImages:
(json_['pagesWithMatchingImages'] as core.List?)
?.map((value) => WebPage.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
partialMatchingImages: (json_['partialMatchingImages'] as core.List?)
?.map((value) => WebImage.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
visuallySimilarImages: (json_['visuallySimilarImages'] as core.List?)
?.map((value) => WebImage.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
webEntities: (json_['webEntities'] as core.List?)
?.map((value) => WebEntity.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
);