copyWith method
AttachmentRequest
copyWith({
- String? mimeType,
- String? objectId,
- AttachmentProvider? provider,
- AttachmentType? type,
Implementation
AttachmentRequest copyWith(
{String? mimeType,
String? objectId,
enums.AttachmentProvider? provider,
enums.AttachmentType? type}) {
return AttachmentRequest(
mimeType: mimeType ?? this.mimeType,
objectId: objectId ?? this.objectId,
provider: provider ?? this.provider,
type: type ?? this.type);
}