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