normalizedEquals static method

bool normalizedEquals({
  1. required String value,
  2. required String other,
})

Implementation

static bool normalizedEquals({
  required String value,
  required String other,
}) {
  final normalizedValue = normalize(value);
  final normalizedOther = normalize(other);

  return normalizedValue == normalizedOther;
}