shutdown method
Shuts down the conversation client.
This will dispose() the client after shutdown, so the client cannot be used after this call.
Implementation
Future<void> shutdown() async {
try {
TwilioConversations.conversationClient = null;
FlutterConversationClientApi.setup(null);
await TwilioConversations().conversationsClientApi.shutdown();
} on PlatformException catch (err) {
throw TwilioConversations.convertException(err);
}
}