copyWith method

EmailAttachment copyWith({
  1. String? content,
  2. String? filename,
  3. String? type,
  4. String? disposition,
  5. String? contentId,
})

Implementation

EmailAttachment copyWith({
  String? content,
  String? filename,
  String? type,
  String? disposition,
  String? contentId,
}) =>
    EmailAttachment(
      content: content ?? this.content,
      filename: filename ?? this.filename,
      type: type ?? this.type,
      disposition: disposition ?? this.disposition,
      contentId: contentId ?? this.contentId,
    );