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