mapAccountInformation method

void mapAccountInformation({
  1. required User accountInformation,
})

Implementation

void mapAccountInformation({
  required User accountInformation,
}) {
  _user.value = UserModel(
    name: accountInformation.displayName ?? '',
    id: accountInformation.uid,
    email: accountInformation.email ?? '',
    imageUrl: accountInformation.photoURL ?? '',
  );
}