chore: initial commit Dutra Store POS app

This commit is contained in:
Onie
2026-07-23 22:12:32 +07:00
commit 22356f630e
175 changed files with 13934 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
class UserProfile {
final String id;
final String role;
final String? fullName;
UserProfile({
required this.id,
required this.role,
this.fullName,
});
factory UserProfile.fromJson(Map<String, dynamic> json) {
return UserProfile(
id: json['id'] as String,
role: json['role'] as String,
fullName: json['full_name'] as String?,
);
}
Map<String, dynamic> toJson() => {
'id': id,
'role': role,
'full_name': fullName,
};
}