copyWith method
Implementation
Attachment copyWith({
Uri? uri,
String? mimeType,
String? fileName,
}) {
return Attachment(
uri: uri ?? this.uri,
mimeType: mimeType ?? this.mimeType,
fileName: fileName ?? this.fileName,
);
}
Attachment copyWith({
Uri? uri,
String? mimeType,
String? fileName,
}) {
return Attachment(
uri: uri ?? this.uri,
mimeType: mimeType ?? this.mimeType,
fileName: fileName ?? this.fileName,
);
}