updateIcon method
Replaces an existing marker icon using encoded image bytes.
Implementation
Future<void> updateIcon(MarkerId markerId, Uint8List iconBytes) async {
if (iconBytes.isEmpty) {
throw _argumentException(_controller, 'updateMarkerIcon', 'empty_icon');
}
final transport = await _controller._readyTransport();
await transport.updateMarkerIcon(markerId, iconBytes);
}