isNormalizable method

bool isNormalizable(
  1. String name
)

Checks if the input string is ENS normalizable (i.e. normalize(name) will not raise DisallowedSequence). e.g

ENSNormalize ensn = await ENSNormalize.getInstance();
ensn.isNormalizable('Nick.ETH'); // true

Implementation

bool isNormalizable(String name) {
  return ensProcess(name).error == null;
}