decode static method

Implementation

static FirstVideoFrameDecodedEvent decode(Object result) {
  result as List<Object?>;
  return FirstVideoFrameDecodedEvent(
    uid: result[0]! as int,
    width: result[1]! as int,
    height: result[2]! as int,
    streamType: result[3] as int?,
  );
}