toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (routingPolicy != null) 'routingPolicy': routingPolicy!,
      if (rrdatas != null) 'rrdatas': rrdatas!,
      if (signatureRrdatas != null) 'signatureRrdatas': signatureRrdatas!,
      if (ttl != null) 'ttl': ttl!,
      if (type != null) 'type': type!,
    };