toJson method
Map<String, Object>
toJson
()
Implementation
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json =
new core.Map<core.String, core.Object>();
if (additionalRoles != null) {
_json["additionalRoles"] = additionalRoles;
}
if (inherited != null) {
_json["inherited"] = inherited;
}
if (inheritedFrom != null) {
_json["inheritedFrom"] = inheritedFrom;
}
if (role != null) {
_json["role"] = role;
}
if (teamDrivePermissionType != null) {
_json["teamDrivePermissionType"] = teamDrivePermissionType;
}
return _json;
}