copyWith method
Creates a copy with the given fields replaced.
Implementation
MessageCreationDetails copyWith({String? messageId}) {
return MessageCreationDetails(messageId: messageId ?? this.messageId);
}
Creates a copy with the given fields replaced.
MessageCreationDetails copyWith({String? messageId}) {
return MessageCreationDetails(messageId: messageId ?? this.messageId);
}