app files restructure

This commit is contained in:
2024-11-14 11:46:50 +02:00
parent c07f0c25c5
commit 469a4b0383
312 changed files with 592 additions and 546 deletions

View File

@@ -0,0 +1,35 @@
// ignore: file_names
class AppUser {
final int idUser;
final String email;
final String fname;
final String lname;
final String type;
final String app_id;
final String username;
final String pro_pic_path;
const AppUser(
this.idUser,
this.email,
this.fname,
this.lname,
this.type,
this.app_id,
this.username,
this.pro_pic_path,
);
factory AppUser.fromJson(dynamic json) {
return AppUser(
json['idUser'],
json['email'],
json['fname'],
json['lname'],
json['type'],
json['app_id'],
json['username'],
json['pro_pic_path'],
);
}
}