TUINetwork.fromJson constructor

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

Implementation

TUINetwork.fromJson(Map<String, dynamic> json) {
  userId = json["user_id"];
  quality = TUINetworkQualityExt.fromValue(json["quality"]);
  upLoss = json["up_loss"];
  downLoss = json["down_loss"];
  delay = json["delay"];
}