getView method

  1. @override
Future<LogView> getView(
  1. GetViewRequest request
)
override

Gets a view on a log bucket..

Throws a http.ClientException if there were problems communicating with the API service. Throws a ServiceException if the API method failed for any reason.

Implementation

@override
Future<LogView> getView(GetViewRequest request) async {
  if (isClosed) throw StateError('Service is closed');

  if (_getView case final getView?) {
    return getView(request);
  }
  throw UnsupportedError('getView');
}