copyWith method

MessageForumTopicCreated copyWith({
  1. String? name,
  2. bool? isNameImplicit,
  3. ForumTopicIcon? icon,
})

Implementation

MessageForumTopicCreated copyWith({
  String? name,
  bool? isNameImplicit,
  ForumTopicIcon? icon,
}) =>
    MessageForumTopicCreated(
      name: name ?? this.name,
      isNameImplicit: isNameImplicit ?? this.isNameImplicit,
      icon: icon ?? this.icon,
    );