apiV3ProfileSubmitCreateWithHttpInfo method
Future<Response>
apiV3ProfileSubmitCreateWithHttpInfo({
- TutorProfileOnboarding? tutorProfileOnboarding,
Views for tutor onboarding api
Note: This method returns the HTTP Response.
Parameters:
- TutorProfileOnboarding tutorProfileOnboarding:
Implementation
Future<Response> apiV3ProfileSubmitCreateWithHttpInfo({ TutorProfileOnboarding? tutorProfileOnboarding, }) async {
// ignore: prefer_const_declarations
final path = r'/api/v3/profile-submit/';
// ignore: prefer_final_locals
Object? postBody = tutorProfileOnboarding;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}