getAs<T> method

Future<T> getAs<T>(
  1. String path, {
  2. Map<String, dynamic>? args,
  3. T? responseAs,
  4. WebRequestFilter? requestFilter,
  5. WebResponseFilter? responseFilter,
})
override

Implementation

Future<T> getAs<T>(String path,
    {Map<String, dynamic>? args,
    T? responseAs,
    WebRequestFilter? requestFilter,
    WebResponseFilter? responseFilter}) {
  return sendRequest<T>(SendWebContext(
      method: "GET",
      url: toAbsoluteUrl(path),
      args: args,
      responseAs: responseAs,
      requestFilter: requestFilter,
      responseFilter: responseFilter));
}