toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (contactGroupId != null) 'contactGroupId': contactGroupId!,
if (contactGroupResourceName != null)
'contactGroupResourceName': contactGroupResourceName!,
};