toggle static method

Future<void> toggle()

Implementation

static Future<void> toggle() => controller.playPause();