decode static method

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,
  );
}