flutter_graphql_client/flutter_graphql_queries library
Constants
- generateAndEmailOtpQuery → const String
- sends an OTP to the provided phone number and/or email address
- generateEmailOTPQuery → const String
- sends an OTP to an email only
- generateOTPQuery → const String
- sends an OTP to an phone only
- generateRetryOTPQuery → const String
- sends an OTP through alternative means such as twilio and WhatsApp
- verifyEmailOTPQuery → const String
-
verifies the email sent from generateEmailOTPQuery. It updates the
isEmailVerified
bool in the user's firebase profile
Functions
-
generateAndEmailOtpVariables(
String? email, String phoneNumber) → Map< String, dynamic> -
generateEmailOTPQueryVariables(
String? email) → Map< String, dynamic>