build static method

RestAccessor build(
  1. URLFactory urlFactory,
  2. HeaderBuilder? defaultHeaderBuilder
)

Build method used internally. Do not use it. It will be hidden in future version.

Implementation

static RestAccessor build(
    URLFactory urlFactory, HeaderBuilder? defaultHeaderBuilder) {
  return _RestAccessorImpl(urlFactory,
      defaultHeaderBuilder: defaultHeaderBuilder);
}