copyWith method

AttachmentSettings copyWith({
  1. bool? enabled,
  2. int? uploadLimit,
})

Implementation

AttachmentSettings copyWith({bool? enabled, int? uploadLimit}) {
  return AttachmentSettings(
    enabled: enabled ?? this.enabled,
    uploadLimit: uploadLimit ?? this.uploadLimit,
  );
}