requestTransformer property

(RestRequestTransformer Function(Query?, RestModel?)?) requestTransformer
final

The interface used to determine the request to send to remote. This class will be accessed for all provider and repository operations.

Implementing classes of RestRequestTransformer must be a const constructor. For simplicity, the default constructor tearoff can be provided as a value (requestTransformer: MyTransformer.new).

Implementation

final RestRequestTransformer Function(Query?, RestModel?)? requestTransformer;