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