52 lines
1.7 KiB
Dart
52 lines
1.7 KiB
Dart
class VoiceToTextModel {
|
|
final String Voice2text_ID;
|
|
final String Voice2text_Note;
|
|
final String Voice2text_Url;
|
|
final String Voice2text_Text;
|
|
final String Voice2text_User_ID;
|
|
final String Voice2text_JsonData;
|
|
final String Voice2text_Created;
|
|
final String Voice2text_Updated;
|
|
final String Voice2text_IsActive;
|
|
|
|
VoiceToTextModel({
|
|
required this.Voice2text_ID,
|
|
required this.Voice2text_Note,
|
|
required this.Voice2text_Url,
|
|
required this.Voice2text_Text,
|
|
required this.Voice2text_User_ID,
|
|
required this.Voice2text_JsonData,
|
|
required this.Voice2text_Created,
|
|
required this.Voice2text_Updated,
|
|
required this.Voice2text_IsActive,
|
|
});
|
|
|
|
factory VoiceToTextModel.fromJson(Map<String, dynamic> json) {
|
|
return VoiceToTextModel(
|
|
Voice2text_ID: json['Voice2text_ID'] ?? "",
|
|
Voice2text_Note: json['Voice2text_Note'] ?? "",
|
|
Voice2text_Url: json['Voice2text_Url'] ?? "",
|
|
Voice2text_Text: json['Voice2text_Text'] ?? "",
|
|
Voice2text_User_ID: json['Voice2text_User_ID'] ?? "",
|
|
Voice2text_JsonData: json['Voice2text_JsonData'] ?? "",
|
|
Voice2text_Created: json['Voice2text_Created'] ?? "",
|
|
Voice2text_Updated: json['Voice2text_Updated'] ?? "",
|
|
Voice2text_IsActive: json['Voice2text_IsActive'] ?? "",
|
|
);
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
return {
|
|
"Voice2text_ID": Voice2text_ID,
|
|
"Voice2text_Note": Voice2text_Note,
|
|
"Voice2text_Url": Voice2text_Url,
|
|
"Voice2text_Text": Voice2text_Text,
|
|
"Voice2text_User_ID": Voice2text_User_ID,
|
|
"Voice2text_JsonData": Voice2text_JsonData,
|
|
"Voice2text_Created": Voice2text_Created,
|
|
"Voice2text_Updated": Voice2text_Updated,
|
|
"Voice2text_IsActive": Voice2text_IsActive,
|
|
};
|
|
}
|
|
}
|