readFile abstract method

Future<Uint8List> readFile(
  1. String path
)

Reads data from a file at the given path

Throws:

  • FileSystemException if file doesn't exist or read fails

Implementation

Future<Uint8List> readFile(String path);