copyWith method
Copy model with modified properties.
Properties:
chat_id: Chat identifieris_dark: Pass true if a dark theme is used by the application
Implementation
GetChatRevenueStatistics copyWith({
int? chatId,
bool? isDark,
}) =>
GetChatRevenueStatistics(
chatId: chatId ?? this.chatId,
isDark: isDark ?? this.isDark,
);