customLoginRequestMapper property

FutureOr<Map<String, String>> Function(String email, String password)? customLoginRequestMapper
finalinherited

Provides a custom function that allows you to customize the way your request's body is sent to the API Example function(email, password) { return { 'custom-email-key': email, 'custom-password-key': password, } }

Implementation

final FutureOr<Map<String, String>> Function(String email, String password)? customLoginRequestMapper;