decode static method

Implementation

static SetLocalVideoConfigRequest decode(Object result) {
  result as List<Object?>;
  return SetLocalVideoConfigRequest(
    videoProfile: result[0] as int?,
    videoCropMode: result[1] as int?,
    frontCamera: result[2] as bool?,
    frameRate: result[3] as int?,
    minFrameRate: result[4] as int?,
    bitrate: result[5] as int?,
    minBitrate: result[6] as int?,
    degradationPrefer: result[7] as int?,
    width: result[8] as int?,
    height: result[9] as int?,
    cameraType: result[10] as int?,
    mirrorMode: result[11] as int?,
    orientationMode: result[12] as int?,
    streamType: result[13] as int?,
  );
}