IntKind.exactly constructor

  1. @literal
const IntKind.exactly(
  1. int value
)

A shorthand for expressing that an int must be equal to value.

Useful for properties such as StringKind.lengthInUtf8.

Implementation

@literal
const IntKind.exactly(int value) : this(min: value, max: value);