check method

String? check(
  1. T value
)

Null when value is acceptable, otherwise the reason it is not.

Implementation

String? check(T value) => _check?.call(value);