copyWith method

SendMessageRequest copyWith({
  1. String? messageType,
  2. String? message,
  3. String? conversationId,
})

Implementation

SendMessageRequest copyWith({
  String? messageType,
  String? message,
  String? conversationId,
}) {
  return SendMessageRequest(
    messageType: messageType ?? this.messageType,
    message: message ?? this.message,
    conversationId: conversationId ?? this.conversationId,
  );
}