toJson method
Implementation
Map<String, dynamic> toJson() {
final accountId = this.accountId;
final region = this.region;
final resourceType = this.resourceType;
return {
if (accountId != null) 'AccountId': accountId,
if (region != null) 'Region': region,
if (resourceType != null) 'ResourceType': resourceType.toValue(),
};
}