light property

SamplingSchema light
override

The sampling schema for light sampling, when power-aware sampling is enabled. See PowerAwarenessState.

Implementation

SamplingSchema get light => common
  ..type = SamplingSchemaType.LIGHT
  ..name = 'Light context sampling'
  ..measures[WEATHER].enabled = false;