isOptional property
final
Marks the validator as optional. This means that if the value being checked is null or missing, the validation is considered valid.
Implementation
final bool isOptional;
Marks the validator as optional. This means that if the value being checked is null or missing, the validation is considered valid.
final bool isOptional;