toJson method
Implementation
Map<String, dynamic> toJson() {
final arn = this.arn;
final permissionPolicy = this.permissionPolicy;
final namespace = this.namespace;
return {
'Arn': arn,
'PermissionPolicy': permissionPolicy.toValue(),
if (namespace != null) 'Namespace': namespace,
};
}