api<ReqType, ResType> method

HttpApi<ReqType, ResType> api<ReqType, ResType>({
  1. required String path,
})

Implementation

HttpApi<ReqType, ResType> api<ReqType, ResType>({
  required String path,
}) {
  return HttpApi<ReqType, ResType>(
    baseUrl: url,
    path: path,
  );
}