responseMapper property

  1. @Deprecated('Use responseParser instead. Will be removed in v2.0.0')
PagyResponseParser Function(Map<String, dynamic> response)? responseMapper
final

Function to parse API response into a PagyResponseParser.

Deprecated: Use responseParser instead for better clarity.

Typically extracts items and total count from the raw API response.

Implementation

@Deprecated('Use responseParser instead. Will be removed in v2.0.0')
final PagyResponseParser Function(Map<String, dynamic> response)?
    responseMapper;