decode static method

NERtcLastmileProbeOneWayResult decode(
  1. Object result
)

Implementation

static NERtcLastmileProbeOneWayResult decode(Object result) {
  result as List<Object?>;
  return NERtcLastmileProbeOneWayResult(
    packetLossRate: result[0]! as int,
    jitter: result[1]! as int,
    availableBandwidth: result[2]! as int,
  );
}