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.

Implementation

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