copyWith method

AliceConfiguration copyWith({
  1. GlobalKey<NavigatorState>? navigatorKey,
  2. bool? showNotification,
  3. bool? showInspectorOnShake,
  4. String? notificationIcon,
  5. TextDirection? directionality,
  6. bool? showShareButton,
  7. AliceStorage? aliceStorage,
  8. AliceLogger? aliceLogger,
})

Implementation

AliceConfiguration copyWith({
  GlobalKey<NavigatorState>? navigatorKey,
  bool? showNotification,
  bool? showInspectorOnShake,
  String? notificationIcon,
  TextDirection? directionality,
  bool? showShareButton,
  AliceStorage? aliceStorage,
  AliceLogger? aliceLogger,
}) =>
    AliceConfiguration(
      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: aliceStorage ?? this.aliceStorage,
      logger: aliceLogger ?? this.aliceLogger,
    );