toJson method
Implementation
Map<String, Object?> toJson() {
var type = this.type;
var profilePicture = this.profilePicture;
var displayName = this.displayName;
var operations = this.operations;
var isExternalCollaborator = this.isExternalCollaborator;
var expandable = this.expandable;
var links = this.links;
final json = <String, Object?>{};
json[r'type'] = type;
json[r'profilePicture'] = profilePicture.toJson();
json[r'displayName'] = displayName;
json[r'operations'] = operations.map((i) => i.toJson()).toList();
json[r'isExternalCollaborator'] = isExternalCollaborator;
if (expandable != null) {
json[r'_expandable'] = expandable.toJson();
}
json[r'_links'] = links.toJson();
return json;
}