debug static method

Future<void> debug({
  1. bool dart = false,
  2. bool native = false,
  3. bool sdk = false,
})

Enable debug logging.

For native logging set native to true and for dart set dart to true.

Implementation

static Future<void> debug({
  bool dart = false,
  bool native = false,
  bool sdk = false,
}) async {
  _dartDebug = dart;
  try {
    await TwilioConversations().pluginApi.debug(native, sdk);
  } catch (e) {
    TwilioConversations.log(
        'TwilioConversations::debug => Caught Exception: $e');
  }
}