fromMathMlName static method

Notation? fromMathMlName(
  1. String name
)

Implementation

static Notation? fromMathMlName(String name) {
  final cleanName = name.trim().toLowerCase();
  for (final notation in Notation.values) {
    if (notation.mathMlName == cleanName) {
      return notation;
    }
  }
  return null;
}