toastOtpError function

void toastOtpError(
  1. BuildContext context,
  2. String message
)

Implementation

void toastOtpError(BuildContext context, String message) {
  logger.e("Phone Verification failed");
  logger.d("Failed Phone Verification $message");

  ScaffoldMessenger.of(context).showSnackBar(
      SnackBar(content: Text("Phone Verification failed $message")));
}