Future<void> setDuration(int durationInMilliSec) async { await _effectViewApi.setDuration(durationInMilliSec); }