setBitmapSrc method
Sets a new bitmap and destroys the old one if available
Implementation
Future<void> setBitmapSrc(String? bitmapSrc, SymbolCache? symbolCache) async {
if (this.bitmap != null) {
//this.bitmap!.decrementRefCount();
bitmap = null;
}
bitmapInvalid = false;
this.bitmapSrc = bitmapSrc;
await initBitmap(symbolCache);
}