toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (displayName != null) 'displayName': displayName!,
if (domainId != null) 'domainId': domainId!,
if (isAnonymous != null) 'isAnonymous': isAnonymous!,
if (name != null) 'name': name!,
if (type != null) 'type': type!,
};