toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (addedPermissions != null) 'addedPermissions': addedPermissions!,
if (removedPermissions != null)
'removedPermissions': removedPermissions!,
};