toJson method
Implementation
Map<String, dynamic> toJson() {
final destinationPath = this.destinationPath;
final groupOwnerSetting = this.groupOwnerSetting;
final sourcePath = this.sourcePath;
return {
if (destinationPath != null) 'DestinationPath': destinationPath,
if (groupOwnerSetting != null) 'GroupOwnerSetting': groupOwnerSetting,
if (sourcePath != null) 'SourcePath': sourcePath,
};
}