copyWith method
Implementation
SendMessageViewMetrics copyWith({
int? chatId,
int? messageId,
int? timeInViewMs,
int? activeTimeInViewMs,
int? heightToViewportRatioPerMille,
int? seenRangeRatioPerMille,
}) => SendMessageViewMetrics(
chatId: chatId ?? this.chatId,
messageId: messageId ?? this.messageId,
timeInViewMs: timeInViewMs ?? this.timeInViewMs,
activeTimeInViewMs: activeTimeInViewMs ?? this.activeTimeInViewMs,
heightToViewportRatioPerMille:
heightToViewportRatioPerMille ?? this.heightToViewportRatioPerMille,
seenRangeRatioPerMille:
seenRangeRatioPerMille ?? this.seenRangeRatioPerMille,
);