buildWhen property
Optional predicate that must return true for the builder to be used.
If omitted, only the null-check on value is applied. When provided, the
value must be non-null AND the predicate returns true for the builder
to run; otherwise orElse (or null for orNull) is used.
Implementation
final bool Function(T)?
buildWhen;