getUserByExternalId function

  1. @Deprecated('The field `externalId` of the `CubeUser` model is deprecated. ' 'Use the `getUserByExternalUserId(String externalUserId)` function for requesting the user by `externalUserId`')
Future<CubeUser?> getUserByExternalId(
  1. int externalId
)

Implementation

@Deprecated('The field `externalId` of the `CubeUser` model is deprecated. '
    'Use the `getUserByExternalUserId(String externalUserId)` function for requesting the user by `externalUserId`')
Future<CubeUser?> getUserByExternalId(int externalId) {
  return GetUserQuery.byExternal(externalId).perform();
}