Commit 230e23ee authored by Tuan Anh Nguyen's avatar Tuan Anh Nguyen Committed by Tuan Anh Nguyen
Browse files

feat: add isAdmin property to User

parent f36997d6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -4,11 +4,13 @@ class User {
  String profilePicture;
  // location name
  String lastLocation;
  bool isAdmin;

  User({
    required this.id,
    required this.userName,
    required this.profilePicture,
    required this.lastLocation,
    this.isAdmin = false,
  });
}