CropHint.fromJson constructor
CropHint.fromJson(
- Map json_
Implementation
CropHint.fromJson(core.Map json_)
: this(
boundingPoly: json_.containsKey('boundingPoly')
? BoundingPoly.fromJson(
json_['boundingPoly'] as core.Map<core.String, core.dynamic>)
: null,
confidence: json_.containsKey('confidence')
? (json_['confidence'] as core.num).toDouble()
: null,
importanceFraction: json_.containsKey('importanceFraction')
? (json_['importanceFraction'] as core.num).toDouble()
: null,
);