decode static method

Implementation

static SetVideoCorrectionConfigRequest decode(Object result) {
  result as List<Object?>;
  return SetVideoCorrectionConfigRequest(
    topLeft: result[0] as CGPoint?,
    topRight: result[1] as CGPoint?,
    bottomLeft: result[2] as CGPoint?,
    bottomRight: result[3] as CGPoint?,
    canvasWidth: result[4] as double?,
    canvasHeight: result[5] as double?,
    enableMirror: result[6] as bool?,
  );
}