copyWith method

FrequencyState copyWith({
  1. int? total,
  2. int? windowCount,
  3. int? windowAnchorAt,
  4. String? sessionId,
  5. int? stoppedAt,
})

Implementation

FrequencyState copyWith({
  int? total,
  int? windowCount,
  int? windowAnchorAt,
  String? sessionId,
  int? stoppedAt,
}) =>
    FrequencyState(
      total: total ?? this.total,
      windowCount: windowCount ?? this.windowCount,
      windowAnchorAt: windowAnchorAt ?? this.windowAnchorAt,
      sessionId: sessionId ?? this.sessionId,
      stoppedAt: stoppedAt ?? this.stoppedAt,
    );