readAsBytesSync abstract method Null safety
Synchronously reads the entire file contents as a list of bytes.
Throws a FileSystemException if the operation fails.
Implementation
Uint8List readAsBytesSync();
Synchronously reads the entire file contents as a list of bytes.
Throws a FileSystemException if the operation fails.
Uint8List readAsBytesSync();