leave method

Future<void> leave()

Implementation

Future<void> leave() async {
  try {
    await TwilioConversations().conversationApi.leave(sid);
  } on PlatformException catch (err) {
    throw TwilioConversations.convertException(err);
  }
}