takeSnapshot method

Future<Uint8List?> takeSnapshot()

Returns the image bytes of the map

Implementation

Future<Uint8List?> takeSnapshot() async {
  if (Platform.isIOS) {
    return this.appleController!.takeSnapshot();
  } else if (Platform.isAndroid) {
    return this.googleController!.takeSnapshot();
  }
}