validateFirstName method

bool validateFirstName(
  1. String firstName
)

Implementation

bool validateFirstName(String firstName) {
  return !(firstName.length == 0);
}