toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final accountId = this.accountId;
  final awsRegion = this.awsRegion;
  return {
    if (accountId != null) 'AccountId': accountId,
    if (awsRegion != null) 'AwsRegion': awsRegion,
  };
}