decode static method

NERtcLastmileProbeResult decode(
  1. Object result
)

Implementation

static NERtcLastmileProbeResult decode(Object result) {
  result as List<Object?>;
  return NERtcLastmileProbeResult(
    state: result[0]! as int,
    rtt: result[1]! as int,
    uplinkReport:
        NERtcLastmileProbeOneWayResult.decode(result[2]! as List<Object?>),
    downlinkReport:
        NERtcLastmileProbeOneWayResult.decode(result[3]! as List<Object?>),
  );
}