releaseResources method

Future<void> releaseResources()

Invoke this method to close the camera and release all resources

Implementation

Future<void> releaseResources() async {
  final _channel = await _channelCompleter.future;
  return _channel.invokeMethod(
    'releaseResources',
  );
}