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