attachmentBytes property

Uint8List? attachmentBytes
final

The raw attachment bytes, or null if no attachment was present.

This is the exact ground truth for query attachment metadata. A non-null empty Uint8List denotes a present-but-empty attachment (distinct from null, which denotes an absent attachment).

Implementation

final Uint8List? attachmentBytes;