newsDetail abstract method

  1. @POST(Api.newsUserWiseViewDetails)
Future<NewsDetailsModel> newsDetail({
  1. @Body() required dynamic body,
  2. @Header("X-User-Id") String xUserId = "",
  3. @Header("X-Auth-Token") String xAuthToken = "",
  4. @Header("Authorization") String athorization = "",
})

Implementation

@POST(Api.newsUserWiseViewDetails)
Future<NewsDetailsModel> newsDetail({
  @Body() required body,
  @Header("X-User-Id") String xUserId = "",
  @Header("X-Auth-Token") String xAuthToken = "",
  @Header("Authorization") String athorization = "",
});