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