DetectTextResponse.fromJson constructor
Implementation
factory DetectTextResponse.fromJson(Map<String, dynamic> json) {
return DetectTextResponse(
textDetections: (json['TextDetections'] as List?)
?.whereNotNull()
.map((e) => TextDetection.fromJson(e as Map<String, dynamic>))
.toList(),
textModelVersion: json['TextModelVersion'] as String?,
);
}