dispose method

Future<void> dispose()

Release service resources.

Implementation

Future<void> dispose() async {
  await _errorStreamSubscription?.cancel();
  return _channel.invokeMethod<void>('speechService.destroy');
}