BitmapDescriptor.fromBytes constructor
BitmapDescriptor.fromBytes(
- Uint8List byteData
Creates a BitmapDescriptor using an array of bytes that must be encoded as PNG.
Implementation
factory BitmapDescriptor.fromBytes(Uint8List byteData) {
return BitmapDescriptor._({
'type': 'fromBytes',
'rawImageData': byteData
});
}