toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (boundingPoly != null) 'boundingPoly': boundingPoly!,
      if (confidence != null) 'confidence': confidence!,
      if (importanceFraction != null)
        'importanceFraction': importanceFraction!,
    };