I want to read a file with some test data from within a Flutter unit test. Is there a recommended way of doing this? I tried the resource package, but that throws an error:
dart:isolate Isolate.resolvePackageUri
package:resource/src/resolve.dart 11:20 resolveUri
package:resource/src/resource.dart 74:21 Resource.readAsString
Unsupported operation: Isolate.resolvePackageUri