isValidIdentifier method

bool isValidIdentifier(
  1. String name
)

Indicates if the specified name can be used as unit identifier.

Implementation

bool isValidIdentifier(String name) =>
    name != null && _unitIdentifier.end().accept(name);