enableLiveOffControl method

void enableLiveOffControl(
  1. bool isEnable
)

Implementation

void enableLiveOffControl(bool isEnable) {
  try {
    _channel.invokeMethod('enableLiveOffControl', {'isEnable': isEnable});
  } on PlatformException catch (e) {
    logger.e("enableLiveOffControl error: ${e.details} - ${e.message}");
  }
}