decode static method

Implementation

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