vcr 0.2.1 copy "vcr: ^0.2.1" to clipboard
vcr: ^0.2.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
26%
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