stopEffect method

Future<int> stopEffect(
  1. int effectId
)

Implementation

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