samplingSchemes property
The default sampling schemes for all dataTypes in this package.
All sampling packages should defined a DataTypeSamplingScheme
for each
data type.
Implementation
@override
DataTypeSamplingSchemeMap get samplingSchemes =>
DataTypeSamplingSchemeMap.from([
DataTypeSamplingScheme(
DataTypeMetaData(
type: HEALTH,
displayName: "Health Data",
timeType: DataTimeType.TIME_SPAN,
),
HealthSamplingConfiguration(
past: Duration(days: 30),
healthDataTypes: [HealthDataType.STEPS]))
]);