getUserInfo abstract method

  1. @GET(Api.userInfo)
Future<UserInfoResponse> getUserInfo({
  1. @Header("X-UserId") String xUserId = "",
  2. @Header("content-type") String type = "application/x-www-form-urlencoded",
})

Implementation

@GET(Api.userInfo)
Future<UserInfoResponse> getUserInfo({
  @Header("X-UserId") String xUserId = "",
  @Header("content-type") String type = "application/x-www-form-urlencoded",
});