applyOcclusion static method

Future<bool> applyOcclusion(
  1. FlutterUXOcclusion occlusion
)

This method is used for applying occlusion (or Blur) settings

Implementation

static Future<bool> applyOcclusion(FlutterUXOcclusion occlusion) async {
  final bool? status = await _channel.invokeMethod<bool>(
      'applyOcclusion', {"occlusion": occlusion.toJson()});
  return status!;
}