NetLensConfiguration constructor

NetLensConfiguration({
  1. bool showNotification = true,
  2. bool showInspectorOnShake = true,
  3. String notificationIcon = '@mipmap/ic_launcher',
  4. TextDirection? directionality,
  5. bool showShareButton = true,
  6. GlobalKey<NavigatorState>? navigatorKey,
  7. NetLensStorage? storage,
  8. NetLensLogger? logger,
  9. NetLensRedaction redaction = const NetLensRedaction(),
  10. NetLensMocks? mocks,
})

Implementation

NetLensConfiguration({
  this.showNotification = true,
  this.showInspectorOnShake = true,
  this.notificationIcon = '@mipmap/ic_launcher',
  this.directionality,
  this.showShareButton = true,
  GlobalKey<NavigatorState>? navigatorKey,
  NetLensStorage? storage,
  NetLensLogger? logger,
  this.redaction = const NetLensRedaction(),
  NetLensMocks? mocks,
}) : mocks = mocks ?? NetLensMocks(),
     netLensStorage =
         storage ?? NetLensMemoryStorage(maxCallsCount: _defaultMaxCalls),
     navigatorKey = navigatorKey ?? GlobalKey<NavigatorState>(),
     netLensLogger = logger ?? NetLensLogger(maximumSize: _defaultMaxLogs);