VcrAdapter constructor

VcrAdapter({
  1. String basePath = 'test/cassettes',
  2. bool createIfNotExists = true,
})

Implementation

VcrAdapter(
    {String basePath = 'test/cassettes', this.createIfNotExists = true}) {
  final current = p.current;
  this.basePath =
      p.joinAll([current, ...basePath.replaceAll("\\", "/").split('/')]);
}