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