get method

Future<Uint8List?> get(
  1. String filename
)

get stored file as bytes, or null when it does not exist. prefer stream or download to send a file.

Implementation

Future<Uint8List?> get(String filename) async {
  try {
    return await use().get(_key(filename));
  } on FileNotFoundException {
    return null;
  }
}