copyWith method
UpdateChatJoinResult
copyWith({
- int? queryId,
- int? chatId,
- ChatJoinRequestResult? result,
- dynamic extra,
- int? clientId,
override
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
@override
UpdateChatJoinResult copyWith({
int? queryId,
int? chatId,
ChatJoinRequestResult? result,
dynamic extra,
int? clientId,
}) => UpdateChatJoinResult(
queryId: queryId ?? this.queryId,
chatId: chatId ?? this.chatId,
result: result ?? this.result,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);