copyWith method
Variable
copyWith({
- ID? id,
- String? name,
- VariableTypes? type,
- bool? isGlobal,
- bool? isSavedLocally,
- bool? isNullable,
- FlutterListViewController? scrollController,
- dynamic onReorder()?,
override
Implementation
@override
Variable copyWith({
ID? id,
String? name,
VariableTypes? type,
bool? isGlobal,
bool? isSavedLocally,
bool? isNullable,
FlutterListViewController? scrollController,
Function(int oldIndex, int newIndex)? onReorder,
}) =>
ListViewControllerVariable(
id: id ?? this.id,
name: name ?? this.name,
scrollController: scrollController ?? this.scrollController,
);