This commit is contained in:
Felipe
2023-12-23 11:06:10 -05:00
parent c19f75c6a6
commit 956222de76
5 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ class UserModel {
json['profesion'],
json['estado'],
avatar != null ? storage.ref().child(avatar) : null,
json['tarifa'] ?? 0,
json['tarifas'] ?? 0,
json['phoneNumber'],
json['token'],
);
@@ -51,7 +51,7 @@ class UserModel {
firestoreMap['profesion'],
firestoreMap['estado'],
avatar != null ? storage.ref().child(avatar) : null,
firestoreMap['tarifa'] ?? 0,
firestoreMap['tarifas'] ?? 0,
firestoreMap['phoneNumber'] ?? 'Sin numero',
firestoreMap['token'],
);