decode static method

VideoWatermarkTextConfig decode(
  1. Object result
)

Implementation

static VideoWatermarkTextConfig decode(Object result) {
  result as List<Object?>;
  return VideoWatermarkTextConfig(
    wmAlpha: result[0] as double?,
    wmWidth: result[1] as int?,
    wmHeight: result[2] as int?,
    offsetX: result[3] as int?,
    offsetY: result[4] as int?,
    wmColor: result[5] as int?,
    fontSize: result[6] as int?,
    fontColor: result[7] as int?,
    fontNameOrPath: result[8] as String?,
    content: result[9] as String?,
  );
}