setFilterInvalid method

Future<void> setFilterInvalid(
  1. String target,
  2. String invalid
)

开启关闭滤镜

Implementation

Future<void> setFilterInvalid(String target, String invalid) async {
  var map = {'target': target, 'invalid': invalid};
  return FlutterAliPlayerFactory.methodChannel
      .invokeMethod("setFilterInvalid", wrapWithPlayerId(arg: map));
}