getTutorReferencesWithHttpInfo method
Viewset used to receive Tutor's references list. That used on the Tutor's profile page
Note: This method returns the HTTP Response.
Parameters:
Implementation
Future<Response> getTutorReferencesWithHttpInfo(int id, { int? page, }) async {
// ignore: prefer_const_declarations
final path = r'/api/v2/tutor/{id}/references/'
.replaceAll('{id}', id.toString());
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
if (page != null) {
queryParams.addAll(_queryParams('', 'page', page));
}
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}