removeExamples method

  1. @override
Future<RemoveExamplesResponse> removeExamples(
  1. RemoveExamplesRequest request
)
override

Remove Examples from the Example Store.

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<RemoveExamplesResponse> removeExamples(
  RemoveExamplesRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_removeExamples case final removeExamples?) {
    return removeExamples(request);
  }
  throw UnsupportedError('removeExamples');
}