decode static method

PlayEffectRequest decode(
  1. Object result
)

Implementation

static PlayEffectRequest decode(Object result) {
  result as List<Object?>;
  return PlayEffectRequest(
    effectId: result[0] as int?,
    path: result[1] as String?,
    loopCount: result[2] as int?,
    sendEnabled: result[3] as bool?,
    sendVolume: result[4] as int?,
    playbackEnabled: result[5] as bool?,
    playbackVolume: result[6] as int?,
    startTimestamp: result[7] as int?,
    sendWithAudioType: result[8] as int?,
    progressInterval: result[9] as int?,
  );
}