toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (consumerNetwork != null) 'consumerNetwork': consumerNetwork!,
      if (existingDnsRecordSet != null)
        'existingDnsRecordSet': existingDnsRecordSet!,
      if (newDnsRecordSet != null) 'newDnsRecordSet': newDnsRecordSet!,
      if (zone != null) 'zone': zone!,
    };