head method

RestOperation head({
  1. required RestOptions restOptions,
})

Implementation

RestOperation head({required RestOptions restOptions}) {
  return plugins.length == 1
      ? plugins[0].head(restOptions: restOptions)
      : throw _pluginNotAddedException('Api');
}