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