Config constructor

Config({
  1. required String sipCallerIDName,
  2. required String sipCallerIDNumber,
  3. String? notificationToken,
  4. bool? autoReconnect,
  5. LogLevel logLevel = LogLevel.all,
  6. required bool debug,
  7. CustomLogger? customLogger,
  8. String? ringTonePath,
  9. String? ringbackPath,
  10. int? reconnectionTimeout,
  11. Region region = Region.auto,
  12. bool fallbackOnRegionFailure = true,
  13. bool forceRelayCandidate = false,
})

Base configuration class for common parameters

Implementation

Config({
  required this.sipCallerIDName,
  required this.sipCallerIDNumber,
  this.notificationToken,
  this.autoReconnect,
  this.logLevel = LogLevel.all,
  required this.debug,
  this.customLogger,
  this.ringTonePath,
  this.ringbackPath,
  this.reconnectionTimeout,
  this.region = Region.auto,
  this.fallbackOnRegionFailure = true,
  this.forceRelayCandidate = false,
});