toJson method
Implementation
Map<String, dynamic> toJson() {
final policyArn = this.policyArn;
final policyName = this.policyName;
return {
if (policyArn != null) 'PolicyArn': policyArn,
if (policyName != null) 'PolicyName': policyName,
};
}