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. GoogleMapController? mapController,
  8. 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,
    );