toggleRepeat static method
Toggles repeat
Throws a PlatformException if toggling repeat failed Throws a MissingPluginException if the method is not implemented on the native platforms.
Implementation
static Future toggleRepeat() async {
try {
await _channel.invokeMethod(MethodNames.toggleRepeat);
} on Exception catch (e) {
_logException(MethodNames.toggleRepeat, e);
rethrow;
}
}