DnsRecord constructor

const DnsRecord(
  1. @JsonKey(name: 'Status') int status,
  2. bool TC,
  3. bool RD,
  4. bool RA,
  5. bool AD,
  6. bool CD,
  7. @JsonKey(name: 'edns_client_subnet') @nullable String ednsClientSubnet,
  8. @JsonKey(name: 'Answer') @nullable List<Answer> answer,
  9. @JsonKey(name: 'Comment') @nullable String comment
)

Implementation

const factory DnsRecord(
    @JsonKey(name: 'Status') int status,
    bool TC,
    bool RD,
    bool RA,
    bool AD,
    bool CD,
    @JsonKey(name: 'edns_client_subnet') @nullable String ednsClientSubnet,
    @JsonKey(name: 'Answer') @nullable List<Answer> answer,
    @JsonKey(name: 'Comment') @nullable String comment) = _DnsRecord;