setEffectsVolume method

Future<int> setEffectsVolume(
  1. int volume
)

Implementation

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