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