get method

  1. @override
Future<List<int>> get(
  1. String path
)
override

Retrieves the content of the file at path as bytes.

Implementation

@override
Future<List<int>> get(String path) async {
  final file = File(p.join(root, path));
  return await file.readAsBytes();
}