preventStrayRequests static method

void preventStrayRequests([
  1. bool prevent = true
])

Makes unstubbed requests throw while faking.

Implementation

static void preventStrayRequests([bool prevent = true]) =>
    factory.preventStrayRequests(prevent);