FlagshipConfig constructor

FlagshipConfig({
  1. int timeout = TIMEOUT,
  2. StatusListener? statusListener,
  3. Level logLevel = Level.ALL,
  4. bool activeLog = true,
})

Implementation

FlagshipConfig(
    {this.timeout = TIMEOUT,
    this.statusListener,
    Level logLevel = Level.ALL,
    bool activeLog = true}) {
  // Set the log Manager
  this.logManager = LogManager(level: logLevel, enabledLog: activeLog);
  // Log the timeout value in ms
  Flagship.logger(Level.ALL, "Flagship The timeout is : $timeout ms");
}