checkUserProfile method

Future<bool> checkUserProfile()

Return true if there is no problem on user's profile or throws an error.

Implementation

Future<bool> checkUserProfile() async {
  print("checkUserProfile");
  if (notLoggedIn) {
    throw 'LOGIN_FIRST';
  }
  return true;
}