OverflowBehavior constructor
Implementation
const OverflowBehavior({
required this.allowed,
this.overflowOn,
}) : assert(
(allowed && overflowOn != null) || !allowed,
'If overflow is allowed, `pattern` must not be null.',
);