copyWith method
MyLocationModel
copyWith({
- bool? isActive,
- bool? isHideable,
- CameraBehaviour? behaviour,
- String? iconAssetName,
Implementation
MyLocationModel copyWith({
bool? isActive,
bool? isHideable,
sdk.CameraBehaviour? behaviour,
String? iconAssetName,
}) {
return MyLocationModel(
isActive: isActive ?? this.isActive,
isHideable: isHideable ?? this.isHideable,
behaviour: behaviour ?? this.behaviour,
iconAssetName: iconAssetName ?? this.iconAssetName,
);
}