NetworkStats class

Annotations
  • @freezed

Constructors

NetworkStats({required DetailedNetworkStats stats, required int quality, required Threshold threshold, Threshold? previousThreshold})
const
factory
NetworkStats.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $NetworkStatsCopyWith<NetworkStats>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
previousThreshold Threshold?
The previous threshold value (if any).
no setterinherited
quality int
A lossy, human-readable quality value representing call quality.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stats DetailedNetworkStats
In-depth network statistics.
no setterinherited
threshold Threshold
A lossy, human-readable quality value representing call quality.
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