step 4 : listing data rekaman audio
This commit is contained in:
51
lib/model/edit_voice_to_text_model.dart
Normal file
51
lib/model/edit_voice_to_text_model.dart
Normal file
@@ -0,0 +1,51 @@
|
||||
class EditVoiceToTextModel {
|
||||
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;
|
||||
|
||||
EditVoiceToTextModel({
|
||||
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 EditVoiceToTextModel.fromJson(Map<String, dynamic> json) {
|
||||
return EditVoiceToTextModel(
|
||||
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,
|
||||
};
|
||||
}
|
||||
}
|
||||
51
lib/model/voice_to_text_model.dart
Normal file
51
lib/model/voice_to_text_model.dart
Normal file
@@ -0,0 +1,51 @@
|
||||
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,
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user