readAsBytes method

Future<Uint8List> readAsBytes(
  1. String path
)

Read the content of a file as bytes (Uint8List)

Implementation

Future<Uint8List> readAsBytes(String path) async =>
    await readFileContentAsBytes(path.replaceSeparator());