decode static method

Implementation

static StartLastmileProbeTestRequest decode(Object result) {
  result as List<Object?>;
  return StartLastmileProbeTestRequest(
    probeUplink: result[0] as bool?,
    probeDownlink: result[1] as bool?,
    expectedUplinkBitrate: result[2] as int?,
    expectedDownlinkBitrate: result[3] as int?,
  );
}