Gets the file content as bytes.
Warning: This reads the entire file into memory if it's stored on disk.
Implementation
List<int> get data {
if (_memoryData != null) return _memoryData;
if (_tempFilePath != null) return File(_tempFilePath).readAsBytesSync();
return [];
}