getAccessToken abstract method

  1. @POST.new(Api.userAuthentication)
Future<SecondLoginModel> getAccessToken({
  1. @Body.new() required dynamic body,
  2. @Header.new("content-type") String contentType = "application/json",
})

Implementation

@POST(Api.userAuthentication)
Future<SecondLoginModel> getAccessToken({
  @Body() required dynamic body,
  @Header("content-type") String contentType = "application/json",
});