vcr 0.2.0 copy "vcr: ^0.2.0" to clipboard
vcr: ^0.2.0 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
0
pub points
26%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dio, flutter, path

More

Packages that depend on vcr