Cardinality constructor

const Cardinality({
  1. required int min,
  2. BooleanOrIntegerChoice? max,
})

Creates a new instance of Cardinality.

Implementation

const Cardinality({required this.min, this.max});