toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson() => {
  if (collectionId.isNotDefault) 'collectionId': collectionId,
  if (allDescendants.isNotDefault) 'allDescendants': allDescendants,
};