copyWith method

ChatTypeSecret copyWith({
  1. int? secretChatId,
  2. int? userId,
})

Implementation

ChatTypeSecret copyWith({
  int? secretChatId,
  int? userId,
}) =>
    ChatTypeSecret(
      secretChatId: secretChatId ?? this.secretChatId,
      userId: userId ?? this.userId,
    );