decode static method

CupertinoVideoOptions decode(
  1. Object result
)

Implementation

static CupertinoVideoOptions decode(Object result) {
  result as List<Object?>;
  return CupertinoVideoOptions(
    fileType: result[0] != null
        ? CupertinoFileType.values[result[0]! as int]
        : null,
    codec: result[1] != null
        ? CupertinoCodecType.values[result[1]! as int]
        : null,
    fps: result[2] as int?,
  );
}