snapshot method

Future<ImageProvider<Object>> snapshot()

Returns a future ImageProvider that contains a screenshot of the current AR Scene

Implementation

Future<ImageProvider> snapshot() async {
  final result = await _channel.invokeMethod<Uint8List>('snapshot');
  return MemoryImage(result!);
}