isName function

bool isName(
  1. String str
)

check if the string str contains only letters or spaces or periods

Implementation

bool isName(String str) => _name.hasMatch(str);