pauseAllEffects method

Future<int> pauseAllEffects()

Implementation

Future<int> pauseAllEffects() async {
  String? result = await _channel.invokeMethod("pauseAllEffects");
  Map<String, dynamic> json = jsonDecode(result!);
  int? code = json['code'];
  return code ?? -1;
}