copyWith method

  1. @override
UpdateChatPosition copyWith({
  1. int? chatId,
  2. ChatPosition? position,
  3. dynamic extra,
  4. int? clientId,
})
override

Implementation

@override
UpdateChatPosition copyWith({
  int? chatId,
  ChatPosition? position,
  dynamic extra,
  int? clientId,
}) => UpdateChatPosition(
  chatId: chatId ?? this.chatId,
  position: position ?? this.position,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);