toString method

  1. @override
String toString()
override

The fields that differ from the defaults, e.g. BarcodeReader(formats: {qrCode}, options: ReaderOptions(isPure: true)).

Implementation

@override
String toString() =>
    'BarcodeReader(${<String>[if (formats case final Set<BarcodeFormat> f) 'formats: {${f.map((BarcodeFormat f) => f.name).join(', ')}}', if (options != const ReaderOptions()) 'options: $options'].join(', ')})';