onboarding abstract method

  1. @POST(Api.onboardingSubmit)
Future<GenericResponse> onboarding({
  1. @Header("Content-Type") String type = "application/json",
  2. @Header("X-UserId") String xUserId = "",
  3. @Body() required dynamic body,
})

Implementation

@POST(Api.onboardingSubmit)
Future<GenericResponse> onboarding({
  @Header("Content-Type") String type = "application/json",
  @Header("X-UserId") String xUserId = "",
  @Body() required body,
});