decode static method

Implementation

static VideoWatermarkTimestampConfig decode(Object result) {
  result as List<Object?>;
  return VideoWatermarkTimestampConfig(
    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?,
  );
}