deleteRagDataSchema method

  1. @override
Future<void> deleteRagDataSchema(
  1. DeleteRagDataSchemaRequest request
)
override

Deletes a RagDataSchema.

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<void> deleteRagDataSchema(DeleteRagDataSchemaRequest request) async {
  if (isClosed) throw StateError('Service is closed');

  if (_deleteRagDataSchema case final deleteRagDataSchema?) {
    return deleteRagDataSchema(request);
  }
  throw UnsupportedError('deleteRagDataSchema');
}