QrCodeModel constructor

QrCodeModel({
  1. bool enabled = true,
  2. bool saveFile = true,
  3. bool showInCommand = true,
  4. int size = 256,
  5. String errorCorrectionLevel = 'low',
  6. String savePath = Kstrings.qrCodeSavePath,
})

Implementation

QrCodeModel({
  this.enabled = true, // Default for enabled
  this.saveFile = true, // Default for saveFile
  this.showInCommand = true, // Default for showInCommand
  this.size = 256, // Default for size
  this.errorCorrectionLevel = 'low', // Default for errorCorrectionLevel
  this.savePath = Kstrings.qrCodeSavePath, // Default for savePath
});