optional constant

StringValidator const optional

Implementation

static const optional = StringValidator(required: false);