deleteDataSample method
Delete a DataSample by its id
Deletes the data sample identified by the provided unique dataSampleId
.
Parameters:
- String dataSampleId (required):
Implementation
@override
Future<String?> deleteDataSample(String dataSampleId) async {
return (await deleteDataSamples([dataSampleId]))?.firstOrNull ?? (throw StateError("Couldn't delete data sample $dataSampleId"));
}