resendSignUpCode method
Implementation
@override
Future<ResendSignUpCodeResult> resendSignUpCode(
{required ResendSignUpCodeRequest request}) async {
try {
final Map<String, dynamic>? data =
(await (_channel.invokeMapMethod<String, dynamic>(
'resendSignUpCode',
<String, dynamic>{
'data': request.serializeAsMap(),
},
)));
if (data == null)
throw AmplifyException(
AmplifyExceptionMessages.nullReturnedFromMethodChannel);
return _formatResendSignUpResponse(data, "resendSignUpCode");
} on PlatformException catch (e) {
throw castAndReturnPlatformException(e);
}
}