MockHandler typedef

MockHandler = FutureOr<Map<String, Object?>> Function(GqlifyRequest request)

Produces a raw GraphQL response body for a request.

Implementation

typedef MockHandler = FutureOr<Map<String, Object?>> Function(
    GqlifyRequest request);