getBrightnessTrait method

BrightnessTrait? getBrightnessTrait()

Implementation

BrightnessTrait? getBrightnessTrait() {
  return trait<BrightnessTrait>() as BrightnessTrait?;
}