toJson method
Implementation
Map<String, dynamic> toJson() {
final path = this.path;
final scanAll = this.scanAll;
final scanRate = this.scanRate;
return {
if (path != null) 'Path': path,
if (scanAll != null) 'scanAll': scanAll,
if (scanRate != null) 'scanRate': scanRate,
};
}