copyWith method

  1. @override
Variable copyWith({
  1. ID? id,
  2. String? name,
  3. VariableTypes? type,
  4. bool? isGlobal,
  5. bool? isSavedLocally,
  6. bool? isNullable,
  7. PageController? pageController,
})
override

Implementation

@override
Variable copyWith({
  ID? id,
  String? name,
  VariableTypes? type,
  bool? isGlobal,
  bool? isSavedLocally,
  bool? isNullable,
  PageController? pageController,
}) =>
    PageViewControllerVariable(
      id: id ?? this.id,
      name: name ?? this.name,
      pageController: pageController ?? this.pageController,
    );