propertyAsFileContentBytes method

Uint8List? propertyAsFileContentBytes(
  1. String key, [
  2. File? def
])

Implementation

Uint8List? propertyAsFileContentBytes(String key, [File? def]) {
  var file = propertyAsFile(key, def);
  return file?.readAsBytesSync();
}