decode static method
Implementation
static VideoFrame decode(Object result) {
result as List<Object?>;
return VideoFrame(
width: result[0] as int?,
height: result[1] as int?,
rotation: result[2] as int?,
format: result[3] as int?,
timeStamp: result[4] as int?,
data: result[5] as Uint8List?,
strideY: result[6] as int?,
strideU: result[7] as int?,
strideV: result[8] as int?,
textureId: result[9] as int?,
transformMatrix: (result[10] as List<Object?>?)?.cast<double?>(),
);
}