validate method Null safety

  1. @override
bool validate(
  1. String? value
)
override

Returns true if valid.