copyWith method

MessageCreationDetails copyWith({
  1. String? messageId,
})

Creates a copy with the given fields replaced.

Implementation

MessageCreationDetails copyWith({String? messageId}) {
  return MessageCreationDetails(messageId: messageId ?? this.messageId);
}