codigo actual del servidor, con avances de joan

This commit is contained in:
Jose Sanchez
2023-08-07 15:52:04 -04:00
commit 3cd9b8bbe8
3070 changed files with 532255 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
import 'dart:convert';
List<VerificationFormResponse> verificationFormResponseFromJson(String str) => List<VerificationFormResponse>.from(json.decode(str).map((x) => VerificationFormResponse.fromJson(x)));
String verificationFormResponseToJson(List<VerificationFormResponse> data) => json.encode(List<dynamic>.from(data.map((x) => x.toJson())));
class VerificationFormResponse {
String? type;
String? label;
String? options;
VerificationFormResponse({
this.type,
this.label,
this.options,
});
factory VerificationFormResponse.fromJson(Map<String, dynamic> json) => VerificationFormResponse(
type: json["type"],
label: json["label"],
options: json["options"],
);
Map<String, dynamic> toJson() => {
"type": type,
"label": label,
"options": options,
};
}