decode static method

Implementation

static StartScreenCaptureRequest decode(Object result) {
  result as List<Object?>;
  return StartScreenCaptureRequest(
    contentPrefer: result[0] as int?,
    videoProfile: result[1] as int?,
    frameRate: result[2] as int?,
    minFrameRate: result[3] as int?,
    bitrate: result[4] as int?,
    minBitrate: result[5] as int?,
  );
}