verifyEmail method

Future<Result<void, Exception>> verifyEmail(
  1. String email
)

Implementation

Future<Result<void, Exception>> verifyEmail(String email) async {
  final result = await _flutterAuthApi.verifyEmail(_appName, email);

  if (result.isSuccess != true) {
    return Result.failure(Exception(result.error));
  }
  return Result.success({});
}