resendOtp method
Implementation
Future<void> resendOtp() async {
final data = await ref.read(authControllerProvider.notifier)
.resendOtp(state.otpData!.verificationId);
if (data != null) state = state.copyWith(otpData: data);
}
Future<void> resendOtp() async {
final data = await ref.read(authControllerProvider.notifier)
.resendOtp(state.otpData!.verificationId);
if (data != null) state = state.copyWith(otpData: data);
}