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