loadFixtureBytes function

Future<Uint8List> loadFixtureBytes(
  1. String path
)

Loads fixture bytes relative to the package root in VM tests.

Implementation

Future<Uint8List> loadFixtureBytes(String path) async =>
    File.fromUri(await _resolvePackagePath(path)).readAsBytes();