patternFromWaveForm static method
generate a custom pattern impact vibration from waveform (android only)
Implementation
static void patternFromWaveForm(List<int> timings, List<int> amplitudes, bool repeat) => _channel.invokeMethod(
'pattern',
{
'timings': timings,
'amplitudes': amplitudes,
'repeat': repeat,
},
);