isNameEmpty static method

bool isNameEmpty(
  1. String name
)

Implementation

static bool isNameEmpty(String name) {
  return name.trim().isEmpty;
}