toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'confidence': confidence,
    'position': position.toJson(),
    'widthToHeightRatio': widthToHeightRatio,
    'imageParameters': imageParameters.toJson(),
  };
}