catFileBytes function

Future<Uint8List> catFileBytes(
  1. File file
)

Loads a file bytes.

Implementation

Future<Uint8List> catFileBytes(File file) async {
  return file.readAsBytes();
}