You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
476 B

  1. import 'package:json_annotation/json_annotation.dart';
  2. part 'recognition_results.g.dart';
  3. @JsonSerializable()
  4. class RecognitionResults {
  5. String? encoding;
  6. String? format;
  7. int? status;
  8. String? text;
  9. RecognitionResults({this.encoding, this.format, this.status, this.text});
  10. factory RecognitionResults.fromJson(Map<String, dynamic> json) {
  11. return _$RecognitionResultsFromJson(json);
  12. }
  13. Map<String, dynamic> toJson() => _$RecognitionResultsToJson(this);
  14. }