validator property

bool Function(String value)? validator
getter/setter pair

Function that defines whether a value is valid or not.

Implementation

bool Function(String value)? validator;