CommonRules class
Common DNS rule fields.
Constructors
- CommonRules({String? tag, int? serveExpiredTTL, String? clientIP, bool? disableCache, bool? serveStale})
-
const
-
CommonRules.fromJson(Map<
String, dynamic> json) -
factory
Properties
- clientIP → String?
-
Client IP for EDNS.
final
- disableCache → bool?
-
Disable DNS cache.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serveExpiredTTL → int?
-
Optimistic cache TTL.
final
- serveStale → bool?
-
Enable optimistic caching.
final
- tag → String?
-
Routing tag for DNS traffic.
final
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