toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (createTime != null) 'createTime': createTime!,
if (customConstraints != null) 'customConstraints': customConstraints!,
if (name != null) 'name': name!,
if (overlay != null) 'overlay': overlay!,
if (resourceCounts != null) 'resourceCounts': resourceCounts!,
if (state != null) 'state': state!,
if (violationsCount != null) 'violationsCount': violationsCount!,
};