VpnStatus class

To store datas of VPN Connection's status detail

Constructors

VpnStatus({String? duration, DateTime? connectedOn, String? byteIn, String? byteOut, String? packetsIn, String? packetsOut})
VpnStatus.empty()
VPNStatus as empty data
factory

Properties

byteIn String?
Download byte usages
final
byteOut String?
Upload byte usages
final
connectedOn DateTime?
Latest connection date Return null if vpn disconnected
final
duration String?
Duration of vpn usage
final
hashCode int
The hash code for this object.
no setterinherited
packetsIn String?
Packets in byte usages
final
packetsOut String?
Packets out byte usages
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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