updateFlag static method

Future<bool?> updateFlag(
  1. OverlayFlag flag
)

Update the overlay flag while the overlay in action

Implementation

static Future<bool?> updateFlag(OverlayFlag flag) async {
  final bool? _res = await _overlayChannel.invokeMethod<bool?>('updateFlag', {'flag': flag.name});
  return _res;
}