customLoginRequestMapper property

FutureOr<Map<String, dynamic>> Function(String email, String password, AuthDeviceInfo? deviceInfo)? customLoginRequestMapper
final

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, dynamic>> Function(String email, String password, AuthDeviceInfo? deviceInfo)?
    customLoginRequestMapper;