toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final subnetArn = this.subnetArn;
  final zone = this.zone;
  return {
    if (subnetArn != null) 'SubnetArn': subnetArn,
    if (zone != null) 'Zone': zone,
  };
}