Fake HTTP entities for testing.
Add this to your package's pubspec.yaml file:
dependencies: httpstub: ">=0.2.0 <0.3.0"
If you're using the Dart Editor, choose:
Menu > Tools > Pub Install
Or if you want to install from the command line, run:
$ pub install
Now in your Dart code, you can use: