getUsers method

  1. @override
Future<Users> getUsers({
  1. required Session session,
  2. List<String>? facebookIds,
  3. List<String>? ids,
  4. List<String>? usernames,
})
override

Implementation

@override
Future<Users> getUsers({
  required model.Session session,
  List<String>? facebookIds,
  List<String>? ids,
  List<String>? usernames,
}) async {
  _session = session;
  final res = await _api.nakamaGetUsers(
    facebookIds: facebookIds,
    ids: ids,
    usernames: usernames,
  );

  return Users()..mergeFromProto3Json(res.body!.toJson());
}