get abstract method
Retrieve file contents as bytes.
Returns: The file contents as Uint8List, or null if not found.
final bytes = await disk.get('avatar.jpg');
if (bytes != null) {
// Use the bytes
}
Implementation
Future<Uint8List?> get(String path);