register method
Requests the available auth types for a registration attempt.
See login for the optional parameters.
Implementation
Future<OtpGatewayPromise> register(
String phone, {
Map<String, String>? additionalInfo,
}) async {
final obj = await FiaPlatform.instance.otpManual(
'register',
phone,
additionalInfo,
);
return OtpGatewayPromise(obj);
}