getUnreadMessagesCount method
Implementation
Future<int> getUnreadMessagesCount() async {
try {
final result = await TwilioConversations()
.conversationApi
.getUnreadMessagesCount(sid);
return result;
} on PlatformException catch (err) {
throw TwilioConversations.convertException(err);
}
}