LabelDetection.fromJson constructor

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

Implementation

factory LabelDetection.fromJson(Map<String, dynamic> json) {
  return LabelDetection(
    label: json['Label'] != null
        ? Label.fromJson(json['Label'] as Map<String, dynamic>)
        : null,
    timestamp: json['Timestamp'] as int?,
  );
}