getConversations method

  1. @override
Future<List?> getConversations()
override

Get list of conversations for logged in user #

Implementation

@override
Future<List?> getConversations() async {
  final List? conversationsList = await methodChannel.invokeMethod(
      'getConversations');
  return conversationsList ?? [];
}