toJson method

Map<String, dynamic> toJson()

Implementation

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