updateConfigs method
Implementation
Future<void> updateConfigs({
String? imgPath,
InfoWindow? infoWindow,
}) async {
if (imgPath != null) {
icon.complete(BitmapDescriptor.fromAssetImage(
ImageConfiguration(
devicePixelRatio: window.devicePixelRatio,
),
imgPath,
));
}
this.infoWindow = infoWindow ?? this.infoWindow;
}