only property

List<E>? only
final

When set, the only values allowed.

Implementation

final List<E>? only;