Record class

Annotations
  • @JsonSerializable.new(createToJson: true)

Constructors

Record()
Record.empty()
Factory method to create an empty Record object for skeleton loading states
factory
Record.fromJson(Map<String, dynamic> json)
factory

Properties

comment String?
Comments or notes about the DNS record. This field has no effect on DNS responses.
getter/setter pair
content String?
Record coentent
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
Record id
getter/setter pair
name String
DNS record name (or @ for the zone apex) in Punycode.
getter/setter pair
priority int?
Required for MX, SRV and URI records; unused by other record types. Records with lower priorities are preferred.
getter/setter pair
proxied bool
Whether the record is receiving the performance and security benefits of Cloudflare.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ttl int
Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones.
getter/setter pair
type String
Record type.
getter/setter pair

Methods

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

Operators

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