decode static method

Implementation

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