customSetupFieldsUserRequestMapper property

FutureOr<Map<String, String>> Function(AuthSignUpPayload payload, AuthenticationData authData)? customSetupFieldsUserRequestMapper
final

Provides a custom function that allows you to customize the way your request's body is sent to the API Example function(data) { return { { "firstName": "string", "lastName": "string", "phone": "string", "country": "string", "twitterUsername": "string" } }

Implementation

///   }
/// }
final FutureOr<Map<String, String>> Function(AuthSignUpPayload payload, AuthenticationData authData)?
    customSetupFieldsUserRequestMapper;