decode static method

Implementation

static SetCameraCaptureConfigRequest decode(Object result) {
  result as List<Object?>;
  return SetCameraCaptureConfigRequest(
    extraRotation: result[0] != null
        ? NERtcCaptureExtraRotation.values[result[0]! as int]
        : null,
    captureWidth: result[1] as int?,
    captureHeight: result[2] as int?,
    streamType: result[3] as int?,
  );
}