MockTransport.fixed constructor

MockTransport.fixed(
  1. Map<String, Object?> body
)

Always answers with body.

Implementation

MockTransport.fixed(Map<String, Object?> body) : handler = ((_) => body);