preventStrayRequests method
Enable strict mode — unmatched requests throw StrayRequestException.
Implementation
FakeNetworkDriver preventStrayRequests() {
_preventStrayRequests = true;
return this;
}
Enable strict mode — unmatched requests throw StrayRequestException.
FakeNetworkDriver preventStrayRequests() {
_preventStrayRequests = true;
return this;
}