toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (member != null) 'member': member!,
if (preferredMemberKey != null)
'preferredMemberKey': preferredMemberKey!,
if (relationType != null) 'relationType': relationType!,
if (roles != null) 'roles': roles!,
};