toJson method
Implementation
Map<String, dynamic> toJson() {
final linkName = this.linkName;
final parentReference = this.parentReference;
final batchReferenceName = this.batchReferenceName;
return {
'LinkName': linkName,
'ParentReference': parentReference,
if (batchReferenceName != null) 'BatchReferenceName': batchReferenceName,
};
}