toJson method

Map<String, dynamic> toJson()

Implementation

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