normalizeName static method

String? normalizeName(
  1. String? name
)

Implementation

static String? normalizeName(String? name) {
  if (name == null) return null;
  return name.trim().toLowerCase();
}