hold static method

Future<bool> hold()

Held from now; true when the system gave it.

Implementation

static Future<bool> hold() async {
  try {
    return await _channel.invokeMethod<bool>('lockMulticast') ?? false;
  } on MissingPluginException {
    return false;
  } on PlatformException {
    return false;
  }
}