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