core.Map<core.String, core.dynamic> toJson() => { if (childContexts != null) 'childContexts': childContexts!, };