MockSensorConfiguration constructor

MockSensorConfiguration({
  1. required MockSensorType mockSensorType,
  2. bool? connected,
  3. double? maxSamplingFrequency,
  4. double? minSamplingFrequency,
})

Implementation

factory MockSensorConfiguration(
        {required MockSensorType mockSensorType,
        bool? connected,
        double? maxSamplingFrequency,
        double? minSamplingFrequency}) =>
    MockSensorConfiguration._(
        mockSensorType: mockSensorType.value,
        connected: connected ?? true,
        maxSamplingFrequency: maxSamplingFrequency ?? undefined,
        minSamplingFrequency: minSamplingFrequency ?? undefined);