copyWith method

NetLensConfiguration copyWith({
  1. GlobalKey<NavigatorState>? navigatorKey,
  2. bool? showNotification,
  3. bool? showInspectorOnShake,
  4. String? notificationIcon,
  5. TextDirection? directionality,
  6. bool? showShareButton,
  7. NetLensStorage? netLensStorage,
  8. NetLensLogger? netLensLogger,
  9. NetLensRedaction? redaction,
  10. NetLensMocks? mocks,
})

Implementation

NetLensConfiguration copyWith({
  GlobalKey<NavigatorState>? navigatorKey,
  bool? showNotification,
  bool? showInspectorOnShake,
  String? notificationIcon,
  TextDirection? directionality,
  bool? showShareButton,
  NetLensStorage? netLensStorage,
  NetLensLogger? netLensLogger,
  NetLensRedaction? redaction,
  NetLensMocks? mocks,
}) => NetLensConfiguration(
  showNotification: showNotification ?? this.showNotification,
  showInspectorOnShake: showInspectorOnShake ?? this.showInspectorOnShake,
  notificationIcon: notificationIcon ?? this.notificationIcon,
  directionality: directionality ?? this.directionality,
  showShareButton: showShareButton ?? this.showShareButton,
  navigatorKey: navigatorKey ?? this.navigatorKey,
  storage: netLensStorage ?? this.netLensStorage,
  logger: netLensLogger ?? this.netLensLogger,
  redaction: redaction ?? this.redaction,
  mocks: mocks ?? this.mocks,
);