copyWith method
Variable
copyWith({
- ID? id,
- String? name,
- VariableTypes? type,
- bool? isGlobal,
- bool? isSavedLocally,
- bool? isNullable,
- GoogleMapController? mapController,
- CameraPosition? cameraPosition,
override
Implementation
@override
Variable copyWith({
ID? id,
String? name,
VariableTypes? type,
bool? isGlobal,
bool? isSavedLocally,
bool? isNullable,
GoogleMapController? mapController,
CameraPosition? cameraPosition,
}) =>
GoogleMapsControllerVariable(
id: id ?? this.id,
name: name ?? this.name,
mapController: mapController ?? this.mapController,
cameraPosition: cameraPosition ?? this.cameraPosition,
);