mockFunction property

Future<Response> Function(Request) mockFunction
getter/setter pair

The function used to specify responses

Implementation

Future<Response> Function(Request) mockFunction;