SystemPolicy class
System‑wide Xray policies.
- Annotations
-
- @JsonSerializable.new(includeIfNull: false)
Constructors
- SystemPolicy({bool? statsInboundUplink, bool? statsInboundDownlink, bool? statsOutboundUplink, bool? statsOutboundDownlink})
-
const
-
SystemPolicy.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statsInboundDownlink → bool?
-
Enable incoming traffic accounting for all inbound connections.
final
- statsInboundUplink → bool?
-
Enable outgoing traffic accounting for all inbound connections.
final
- statsOutboundDownlink → bool?
-
Enable incoming traffic accounting for all outbound connections.
final
- statsOutboundUplink → bool?
-
Enable outgoing traffic accounting for all outbound connections.
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