Instance.fromJson constructor

Instance.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Instance.fromJson(Map<String, dynamic> json) {
  return Instance(
    boundingBox: json['BoundingBox'] != null
        ? BoundingBox.fromJson(json['BoundingBox'] as Map<String, dynamic>)
        : null,
    confidence: json['Confidence'] as double?,
  );
}