getAccount static method

Future<UserModel?> getAccount(
  1. String email
)

Implementation

static Future<UserModel?> getAccount(String email) async {
  await initialize();
  logger.finest('isExistAccount');
  final value = await HycopFactory.account!.getAccount(email).catchError((error, stackTrace) {
    logger.severe('isExistAccount failed (${error.toString()})');
    throw HycopUtils.getHycopException(
      error: error,
      defaultMessage: 'AccountManager.getAccount Failed !!!',
    );
  });
  return value;
}