# toJson method

1. @override

Map<String, dynamic> toJson({

1. ToJsonConfiguration? config,

})
override

## Implementation

    @override
    Map<String, dynamic> toJson({ToJsonConfiguration? config}) {
      config = config ?? ToJsonConfiguration();
      Map<String, dynamic> obj = <String, dynamic>{};
      obj["_type"] = "BarcodeFormatUpcEanConfiguration";
      obj["regexFilter"] = regexFilter;
      obj["minimumSizeScore"] = minimumSizeScore;
      obj["addAdditionalQuietZone"] = addAdditionalQuietZone;
      obj["minimum1DQuietZoneSize"] = minimum1DQuietZoneSize;
      obj["stripCheckDigits"] = stripCheckDigits;
      obj["ean8"] = ean8;
      obj["ean13"] = ean13;
      obj["upca"] = upca;
      obj["upce"] = upce;
      obj["extensions"] = extensions.name;
      return obj;
    }