toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (displayName != null) 'displayName': displayName!,
      if (group != null) 'group': group!,
      if (groupKey != null) 'groupKey': groupKey!,
      if (labels != null) 'labels': labels!,
      if (relationType != null) 'relationType': relationType!,
      if (roles != null) 'roles': roles!,
    };