Occurrence<T extends Object> constructor

const Occurrence<T extends Object>(
  1. T value,
  2. int count
)

Creates an Occurrence with the given value and count. Audited: 2026-06-12 11:26 EDT

Implementation

const Occurrence(this.value, this.count);