getCharacterSetECIByName static method

CharacterSetECI? getCharacterSetECIByName(
  1. String name
)

@param name character set ECI encoding name @return CharacterSetECI representing ECI for character encoding, or null if it is legal but unsupported

Implementation

static CharacterSetECI? getCharacterSetECIByName(String name) {
  if (_nameToEci.isEmpty) {
    init();
  }
  return _nameToEci[name.toLowerCase()];
}