login method
Requests the available auth types for a login attempt.
additionalInfo attaches arbitrary key/value metadata to the request.
Implementation
Future<OtpGatewayPromise> login(
String phone, {
Map<String, String>? additionalInfo,
}) async {
final obj = await FiaPlatform.instance.otpManual(
'login',
phone,
additionalInfo,
);
return OtpGatewayPromise(obj);
}