validateName method

bool validateName()

Implementation

bool validateName() {
  return RegExp(r'^([a-z A-Z,.\-]).{2,}$').hasMatch(this);
}