@override Object toJson() => { if (parent.isNotDefault) 'parent': parent, 'structuredQuery': ?structuredQuery?.toJson(), };