fromFirestore method

void fromFirestore (DocumentSnapshot snapshot)

Implementation

void fromFirestore(DocumentSnapshot snapshot) {
  email = snapshot['email'];
  name = snapshot['name'];
  surname = snapshot['surname'];
  profilePictureUrl = snapshot['profilePictureUrl'];
  uid = snapshot['uid'];
}