TextDetectionResult.fromJson constructor

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

Implementation

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