toModel method

UserProfileModel toModel()

Returns the model of the database entity.

Implementation

UserProfileModel toModel() {
  return UserProfileModel(
    authUserId: authUserId,
    userName: userName,
    fullName: fullName,
    email: email,
    imageUrl: image?.url,
  );
}