getUserById function

Future<CubeUser?> getUserById(
  1. int id
)

Implementation

Future<CubeUser?> getUserById(int id) {
  return GetUsersV2Query.byIdentifier(FILTER_ID, id)
      .perform()
      .then((value) => value.items[0]);
}