getMatchingUsers method
Implementation
Future<List<UserGroup>> getMatchingUsers(String sdkId) async {
final res = await _methodChannel.invokeMethod<String>(
'UserApi.getMatchingUsers',
{
"sdkId": sdkId,
}
);
if (res == null) throw AssertionError("received null result from platform method getMatchingUsers");
final parsedResJson = jsonDecode(res);
return (parsedResJson as List<dynamic>).map((x1) => UserGroup.fromJSON(x1) ).toList();
}