source property

AttachmentSource source
inherited

Getter for source of attachment

Implementation

AttachmentSource get source =>
    _source ??
    (attachment.file != null
        ? AttachmentSource.local
        : AttachmentSource.network);