confirmEmail method
Implementation
Future<Result<void, Exception>> confirmEmail(String email, String code) async {
final result = await _flutterAuthApi.confirmEmail(_appName, email, code);
if (result.isSuccess != true) {
return Result.failure(Exception(result.error));
}
return Result.success({});
}