resendVerificationCode static method
Optional helper: resend new OTP after deleting the old one
Implementation
static Future<String> resendVerificationCode(String email) async {
await QueryBuilder(table: 'email_verification_tokens')
.where('email', '=', email)
.delete();
return generateNumericVerificationCode(email);
}