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