listDataItems method

  1. @override
Future<ListDataItemsResponse> listDataItems(
  1. ListDataItemsRequest request
)
override

Lists DataItems in a Dataset.

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<ListDataItemsResponse> listDataItems(
  ListDataItemsRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_listDataItems case final listDataItems?) {
    return listDataItems(request);
  }
  throw UnsupportedError('listDataItems');
}