copyWith method
NetLensConfiguration
copyWith({
- bool? showNotification,
- bool? showInspectorOnShake,
- String? notificationIcon,
- TextDirection? directionality,
- NetLensStorage? netLensStorage,
- NetLensLogger? netLensLogger,
- NetLensRedaction? redaction,
- 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,
);