copyWith method

GetChatMember copyWith({
  1. int? chatId,
  2. MessageSender? memberId,
})

Implementation

GetChatMember copyWith({
  int? chatId,
  MessageSender? memberId,
}) =>
    GetChatMember(
      chatId: chatId ?? this.chatId,
      memberId: memberId ?? this.memberId,
    );