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.
 
 
 
 
 
 

35 lines
688 B

  1. import 'package:json_annotation/json_annotation.dart';
  2. import 'package:demo001/xunfei/phonetic_dictation/phonetic_dictaion_model/w.dart';
  3. part 'recognition_content.g.dart';
  4. @JsonSerializable()
  5. class RecognitionContent {
  6. int? bg;
  7. int? ed;
  8. bool? ls;
  9. String? pgs;
  10. List<int>? rg;
  11. int? sn;
  12. @JsonKey(name: 'sub_end')
  13. bool? subEnd;
  14. List<W>? ws;
  15. RecognitionContent({
  16. this.bg,
  17. this.ed,
  18. this.ls,
  19. this.pgs,
  20. this.rg,
  21. this.sn,
  22. this.subEnd,
  23. this.ws,
  24. });
  25. factory RecognitionContent.fromJson(Map<String, dynamic> json) {
  26. return _$RecognitionContentFromJson(json);
  27. }
  28. Map<String, dynamic> toJson() => _$RecognitionContentToJson(this);
  29. }