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