getAccessToken abstract method
- @POST.new(Api.userAuthentication)
- @Body.new() required dynamic body,
- @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",
});