decode static method

Implementation

static AddOrUpdateLiveStreamTaskRequest decode(Object result) {
  result as List<Object?>;
  return AddOrUpdateLiveStreamTaskRequest(
    serial: result[0] as int?,
    taskId: result[1] as String?,
    url: result[2] as String?,
    serverRecordEnabled: result[3] as bool?,
    liveMode: result[4] as int?,
    layoutWidth: result[5] as int?,
    layoutHeight: result[6] as int?,
    layoutBackgroundColor: result[7] as int?,
    layoutImageUrl: result[8] as String?,
    layoutImageX: result[9] as int?,
    layoutImageY: result[10] as int?,
    layoutImageWidth: result[11] as int?,
    layoutImageHeight: result[12] as int?,
    layoutUserTranscodingList: result[13] as List<Object?>?,
  );
}