TrafficLevel constructor

TrafficLevel(
  1. TrafficColor color,
  2. int level
)

Implementation

factory TrafficLevel(TrafficColor color, core.int level) =>
    TrafficLevelImpl(color, level);