NetworkStatisticsEntryFile class

Inheritance

Constructors

NetworkStatisticsEntryFile({FileType fileType, NetworkType networkType, int sentBytes, int receivedBytes})
Contains information about the total amount of data that was used to send and receive files
NetworkStatisticsEntryFile.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

fileType FileType
fileType Type of the file the data is part of
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
networkType NetworkType
networkType Type of the network the data was sent through. Call setNetworkType to maintain the actual network type
read / write
receivedBytes int
receivedBytes Total number of bytes received
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sentBytes int
sentBytes Total number of bytes sent
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'networkStatisticsEntryFile'