toJson method

Map<String, dynamic> toJson()

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,
  };
}