convertFromMap static method

LVVideoStatistic convertFromMap(
  1. dynamic args
)

Implementation

static LVVideoStatistic convertFromMap(dynamic args) {
  LVVideoStatistic v = LVVideoStatistic();
  v.videoSentPackets = args["videoSentPackets"];
  v.videoSentKBytes = args["videoSentKBytes"];
  v.videoFps = args["videoFps"];
  v.videoLostPackets = args["videoLostPackets"];
  v.videoBitrateBps = args["videoBitrateBps"];
  v.videoRtt = args["videoRtt"];
  v.videoLostPercent = args["videoLostPercent"];
  v.frameWidth = args["frameWidth"];
  v.frameHeight = args["frameHeight"];

  return v;
}