endChat method

Future<Map> endChat()

Ends this live chat conversation.

Implementation

Future<Map<dynamic, dynamic>> endChat() async {
  if (_id == null || _id!.isEmpty) return await reportInvalidValue('convId');

  final params = {'convId': _id, 'uuid': _client.uuid};

  return await StringeeClient.methodChannel.invokeMethod('endChat', params);
}