NetworkStatisticsEntryCall.fromJson constructor

NetworkStatisticsEntryCall.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory NetworkStatisticsEntryCall.fromJson(Map<String, dynamic> json) => NetworkStatisticsEntryCall(
  networkType: NetworkType.fromJson(json['network_type']),
  sentBytes: json['sent_bytes'],
  receivedBytes: json['received_bytes'],
  duration: json['duration'],
);