getChatsWithFilter static method

Future<List<SIQChat>> getChatsWithFilter(
  1. SIQChatStatus chatStatus
)

Returns a list of chats (Instances of SIQChat) whose status matches chatStatus.

Implementation

static Future<List<SIQChat>> getChatsWithFilter(
    SIQChatStatus chatStatus) async {
  final List mapList = await _channel.invokeMethod(
      'getChatsWithFilter', chatStatus.toShortString());
  return _getChatObjectList(mapList);
}