setVerbose method

void setVerbose(
  1. bool isVerbose,
  2. String logPath
)

Implementation

void setVerbose(bool isVerbose, String logPath) {
  if (isVerbose) {
    _channel = VerboseLogMethodChannel(
      name: PMConstants.channelPrefix,
      logFilePath: logPath,
    );
  } else {
    _channel = const MethodChannel(PMConstants.channelPrefix);
  }
}