apiV2TutorRetrieveWithHttpInfo method
Main Tutor Viewset used for Tutors list on /search-results, /post/sign-up and landing pages Tutor details on /tutor/{subject}/{level}/{tutor} Tutor creating - /teach-with-us (become a tutor page)
Note: This method returns the HTTP Response.
Parameters:
- int userId (required):
Implementation
Future<Response> apiV2TutorRetrieveWithHttpInfo(int userId,) async {
// ignore: prefer_const_declarations
final path = r'/api/v2/tutor/{user_id}/'
.replaceAll('{user_id}', userId.toString());
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}