readAsBytesSync method
Synchronously reads the entire file contents as a list of bytes.
Throws a FileSystemException if the operation fails.
Implementation
@override
Uint8List readAsBytesSync() => file.readAsBytesSync();
Synchronously reads the entire file contents as a list of bytes.
Throws a FileSystemException if the operation fails.
@override
Uint8List readAsBytesSync() => file.readAsBytesSync();