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