toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final dbSubnetGroupArn = this.dbSubnetGroupArn;
  final dbSubnetGroupDescription = this.dbSubnetGroupDescription;
  final dbSubnetGroupName = this.dbSubnetGroupName;
  final subnetGroupStatus = this.subnetGroupStatus;
  final subnets = this.subnets;
  final vpcId = this.vpcId;
  return {
    if (dbSubnetGroupArn != null) 'DbSubnetGroupArn': dbSubnetGroupArn,
    if (dbSubnetGroupDescription != null)
      'DbSubnetGroupDescription': dbSubnetGroupDescription,
    if (dbSubnetGroupName != null) 'DbSubnetGroupName': dbSubnetGroupName,
    if (subnetGroupStatus != null) 'SubnetGroupStatus': subnetGroupStatus,
    if (subnets != null) 'Subnets': subnets,
    if (vpcId != null) 'VpcId': vpcId,
  };
}