AugnitoWebClient constructor
AugnitoWebClient(})
Implementation
AugnitoWebClient(this._speechURL,
{Function(dynamic)? onMessage,
Function(dynamic)? onError,
Future<void> Function()? onDisconnected,
enableLogs = false}) {
_onMessage = onMessage;
_onError = onError;
_onDisconnected = onDisconnected;
_logger = enableLogs ? AugnitoPrintLogger() : null;
}