LightSignalingStatus constructor

LightSignalingStatus({
  1. required String signal,
  2. required List<String> signalValues,
  3. required DateTime estimatedEnd,
})

Creates a LightSignalingStatus object.

Implementation

LightSignalingStatus({
  required this.signal,
  required this.signalValues,
  required this.estimatedEnd,
}) : assert(signal.isEmpty || Validators.isValidValue(signal, signalValues),
          '`signalValues`does not contain "$signal"');