DetectedLabel.from constructor

DetectedLabel.from(
  1. Map json
)

Implementation

factory DetectedLabel.from(Map json) => DetectedLabel(
      index: json['index'] as int,
      label: json['label'] as String,
      confidence: json['confidence'] as double,
    );