playInstructions method
Plays a flattened list of HapticInstructions in order.
Implementation
@override
Future<void> playInstructions(List<HapticInstruction> instructions) async {
await methodChannel.invokeMethod<void>(
'playInstructions',
instructions.map((instruction) => instruction.toMap()).toList(),
);
}