maxAttachmentSize property
int
maxAttachmentSize
Maximum allowed file size of attachments, in bytes. Attachments above this size will be discarded
Remarks: Regardless of this setting, attachments are also limited to 20mb (compressed) on Relay.
Implementation
int get maxAttachmentSize => _maxAttachmentSize;
Implementation
set maxAttachmentSize(int maxAttachmentSize) {
assert(maxAttachmentSize > 0);
_maxAttachmentSize = maxAttachmentSize;
}