searchUser method
Implementation
@override
Future<HttpResult<OpenApiSearchUsersResponse>> searchUser({
int? id,
String? login,
}) {
return client.makeGet(
OpenApiChannelConstants.searchUsersEndpoint,
convertBodyFunc: (response) =>
OpenApiSearchUsersResponse.fromHttpResponse(response),
queryParameters: {
OpenApiChannelConstants.queryParamId: id?.toString(),
OpenApiChannelConstants.queryParamLogin: login,
},
bearerToken: token,
clientId: clientId,
);
}