UsageStatsNetworkStats class - core.engine library - Dart API
UsageStatsNetworkStats
UsageStatsNetworkStats class
Provides network statistics in bytes per method.
Constructors
- UsageStatsNetworkStats(int sentBytes, int receivedBytes, String methodCall, int requestCounter)
- Creates a new instance.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodCall ↔ String
-
Name or description of the method being called.
getter/setter pair
- receivedBytes ↔ int
-
Number of bytes received from the network.
getter/setter pair
- requestCounter ↔ int
-
Amount of calls for particular family of methodCall.
methodCall in this case is considered as base request,
additional query params are ignored, all calculated as one request.
e.g. https://search.hereapi.com/someparams and https://search.hereapi.com/someparams2
will be considered as 1 methodCall, and requestCounter is 2.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sentBytes ↔ int
-
Number of bytes sent over the network.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited