toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final securityGroupIds = this.securityGroupIds;
  final subnets = this.subnets;
  final vpcId = this.vpcId;
  return {
    if (securityGroupIds != null) 'SecurityGroupIds': securityGroupIds,
    if (subnets != null) 'Subnets': subnets,
    if (vpcId != null) 'VpcId': vpcId,
  };
}