DnsRecord class abstract

Annotations
  • @freezed

Constructors

DnsRecord(@JsonKey(name: 'Status') int status, bool TC, bool RD, bool RA, bool AD, bool CD, @JsonKey(name: 'edns_client_subnet') String? ednsClientSubnet, @JsonKey(name: 'Answer') List<Answer>? answer, @JsonKey(name: 'Comment') String? comment)
const
factory
DnsRecord.fromJson(Map<String, dynamic> json)
factory

Properties

no setterinherited
answer List<Answer>?
no setterinherited
CD bool
no setterinherited
comment String?
no setterinherited
copyWith → $DnsRecordCopyWith<DnsRecord>
no setterinherited
ednsClientSubnet String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isFailure bool
no setter
isSuccess bool
no setter
RA bool
no setterinherited
RD bool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int
no setterinherited
TC bool
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited