toJson method

Map<String, dynamic> toJson()

Implementation

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