codigo actual del servidor, con avances de joan
This commit is contained in:
29
source_code/lib/data_model/resend_code_response.dart
Normal file
29
source_code/lib/data_model/resend_code_response.dart
Normal file
@@ -0,0 +1,29 @@
|
||||
// To parse this JSON data, do
|
||||
//
|
||||
// final resendCodeResponse = resendCodeResponseFromJson(jsonString);
|
||||
|
||||
import 'dart:convert';
|
||||
|
||||
ResendCodeResponse resendCodeResponseFromJson(String str) => ResendCodeResponse.fromJson(json.decode(str));
|
||||
|
||||
String resendCodeResponseToJson(ResendCodeResponse data) => json.encode(data.toJson());
|
||||
|
||||
class ResendCodeResponse {
|
||||
ResendCodeResponse({
|
||||
this.result,
|
||||
this.message,
|
||||
});
|
||||
|
||||
bool? result;
|
||||
String? message;
|
||||
|
||||
factory ResendCodeResponse.fromJson(Map<String, dynamic> json) => ResendCodeResponse(
|
||||
result: json["result"],
|
||||
message: json["message"],
|
||||
);
|
||||
|
||||
Map<String, dynamic> toJson() => {
|
||||
"result": result,
|
||||
"message": message,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user