IntlScriptRecognizer.delicated constructor

IntlScriptRecognizer.delicated({
  1. Set<String> customRegion,
})

Construct a delicated IntlScriptRecognizer that it no longer memorize instance and return current instance by calling IntlScriptRecognizer.new.

The customRegion must be defined in construction and applyCustomRegion will be disabled and throw UnsupportedError.

The delicated IntlScriptRecognizer is mainly for package which depending on this package that preventing implementer can be apply globally.

Implementation

factory IntlScriptRecognizer.delicated({Set<String> customRegion}) =
    _DelicatedIntlScriptRecognizer;