toMap method
Implementation
Map<String, dynamic> toMap() {
  return {
    'enabled': enabled,
    'save_file': saveFile,
    'show_in_command': showInCommand,
    'size': size,
    'error_correction_level': errorCorrectionLevel,
    'save_path': savePath,
  };
}