mockResponse<T> method
Sets up a mock response for an endpoint.
Implementation
void mockResponse<T>(String endpointId, T data) {
_mockResponses[endpointId] = data;
_mockErrors.remove(endpointId);
}
Sets up a mock response for an endpoint.
void mockResponse<T>(String endpointId, T data) {
_mockResponses[endpointId] = data;
_mockErrors.remove(endpointId);
}