toBoolStrict method
Transform the value to a boolean using strict parsing.
Implementation
BoolBuilder toBoolStrict({String? message}) {
if (chain.coercedToBool) return BoolBuilder(chain: chain);
chain.setTransform(CoercionKind.bool_, (child) => tr.toBoolStrict(child));
return BoolBuilder(chain: chain);
}