copyWith method

InternalLinkTypePublicChat copyWith({
  1. String? chatUsername,
  2. String? draftText,
  3. bool? openProfile,
})

Implementation

InternalLinkTypePublicChat copyWith({
  String? chatUsername,
  String? draftText,
  bool? openProfile,
}) => InternalLinkTypePublicChat(
  chatUsername: chatUsername ?? this.chatUsername,
  draftText: draftText ?? this.draftText,
  openProfile: openProfile ?? this.openProfile,
);