ShotSegment.fromJson constructor

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

Implementation

factory ShotSegment.fromJson(Map<String, dynamic> json) {
  return ShotSegment(
    confidence: json['Confidence'] as double?,
    index: json['Index'] as int?,
  );
}