getUser method

Future<UserData?> getUser()

Implementation

Future<UserData?> getUser() async {
  if (firebaseAccount == null) {
    throw SignedOutException();
  }
  var userData = await firebaseAccount?.getDetails();

  return userData;
}