takeSnapshot method Null safety

Future<Uint8List?> takeSnapshot()

Returns the image bytes of the map

Implementation

Future<Uint8List?> takeSnapshot() {
  return GoogleMapsFlutterPlatform.instance.takeSnapshot(mapId: mapId);
}