localizationDictionary property

Map<String, String>? get localizationDictionary

A localization dictionary to override default localization logic. Allows to replace any string of DocumentReader SDK with an arbitrary string.

To see all the localization keys, look up the RegulaSDK.strings file at ios/Pods/DocumentReader/DocumentReader.xcframework/ios-arm64/DocumentReader.framework/en.lproj/RegulaSDK.strings.

Unmodifiable property. Use setter instead of .remove(), .addAll(), etc.

Implementation

Map<String, String>? get localizationDictionary => _localizationDictionary;
set localizationDictionary (Map<String, String>? val)

Implementation

set localizationDictionary(Map<String, String>? val) {
  if (val != null) val = Map.unmodifiable(val);
  _localizationDictionary = val;
  _setLocalizationDictionary(val);
}