getSampleSet method
Returns the sampling dataset based on data type.
Implementation
SampleSet? getSampleSet(DataType dataType) {
if (sampleSets != null) {
for (SampleSet sampleSet in sampleSets ?? <SampleSet>[]) {
if (sampleSet.getDataType?.name == dataType.name) {
return sampleSet;
}
}
}
return null;
}