registerDeviceRequestMapper property

BaseRequest Function(Request request, PushTokenRegisterInfo info, Map<String, dynamic>? params)? registerDeviceRequestMapper
final

Provide a custom request mapper to customize payload send to registerDeviceTokenApiEndpoint it provides you access to original built request, the device token info and the custom params if defined

Implementation

final BaseRequest Function(Request request, PushTokenRegisterInfo info, Map<String, dynamic>? params)?
    registerDeviceRequestMapper;