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