copyWith method
ForumTopicInfo
copyWith({
- int? messageThreadId,
- String? name,
- ForumTopicIcon? icon,
- int? creationDate,
- MessageSender? creatorId,
- bool? isGeneral,
- bool? isOutgoing,
- bool? isClosed,
- bool? isHidden,
- dynamic extra,
- int? clientId,
Implementation
ForumTopicInfo copyWith({
int? messageThreadId,
String? name,
ForumTopicIcon? icon,
int? creationDate,
MessageSender? creatorId,
bool? isGeneral,
bool? isOutgoing,
bool? isClosed,
bool? isHidden,
dynamic extra,
int? clientId,
}) =>
ForumTopicInfo(
messageThreadId: messageThreadId ?? this.messageThreadId,
name: name ?? this.name,
icon: icon ?? this.icon,
creationDate: creationDate ?? this.creationDate,
creatorId: creatorId ?? this.creatorId,
isGeneral: isGeneral ?? this.isGeneral,
isOutgoing: isOutgoing ?? this.isOutgoing,
isClosed: isClosed ?? this.isClosed,
isHidden: isHidden ?? this.isHidden,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);