settingsForSymbology method

SymbologySettings settingsForSymbology(
  1. Symbology symbology
)

Implementation

SymbologySettings settingsForSymbology(Symbology symbology) {
  var identifier = symbology.toString();
  if (!_symbologies.containsKey(identifier)) {
    var symbologySettings = BarcodePickDefaults.symbologySettingsDefaults[identifier]!;
    _symbologies[identifier] = symbologySettings;
  }
  return _symbologies[identifier]!;
}