disableLogs method

Future<void> disableLogs()

Disables log functionality of the library. Logs will not be p rinted to console and log callback will be disabled. Note that log functionality is enabled by default.

Implementation

Future<void> disableLogs() async {
  try {
    await _methodChannel.invokeMethod('disableLogs');
  } on PlatformException catch (e) {
    logger.e('Plugin disableLogs error: ${e.message}');
  }
}