Configuration constructor
Configuration({
- Iterable<
MapEntry< ? strings,String, String> > - Iterable<
BarcodeFormat> ? restrictFormat, - int? useCamera,
- AndroidConfiguration? android,
- bool? autoEnableFlash,
Implementation
factory Configuration({
$core.Iterable<$core.MapEntry<$core.String, $core.String>>? strings,
$core.Iterable<BarcodeFormat>? restrictFormat,
$core.int? useCamera,
AndroidConfiguration? android,
$core.bool? autoEnableFlash,
}) {
final result = create();
if (strings != null) result.strings.addEntries(strings);
if (restrictFormat != null) result.restrictFormat.addAll(restrictFormat);
if (useCamera != null) result.useCamera = useCamera;
if (android != null) result.android = android;
if (autoEnableFlash != null) result.autoEnableFlash = autoEnableFlash;
return result;
}