toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final subnetId = this.subnetId;
  final zoneName = this.zoneName;
  return {
    if (subnetId != null) 'SubnetId': subnetId,
    if (zoneName != null) 'ZoneName': zoneName,
  };
}