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

outdated

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/keviinlouis/repos');

    return response;
  }
}
3
likes
0
pub points
19%
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, mockito

More

Packages that depend on vcr