vcr 2.0.1 copy "vcr: ^2.0.1" to clipboard
vcr: ^2.0.1 copied to clipboard

A package to mock requests in tests, storing request in json files and reusing

example/lib/main.dart

import 'package:dio/dio.dart';

class ApiCall {
  Dio client = Dio();

  call() async {
    Response response =
    await client.get('https://api.github.com/users/louis-kevin/repos');

    return response;
  }
}
3
likes
130
pub points
18%
popularity

Publisher

unverified uploader

A package to mock requests in tests, storing request in json files and reusing

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

dio, flutter, path

More

Packages that depend on vcr