approachingSpeedSectionAlarms property
List<SpeedSectionAlarm>
get
approachingSpeedSectionAlarms
Speed section control alarms coming up within alarmDistance.
Returns
List<SpeedSectionAlarm>: The approaching section-control alarms. Guaranteed not empty when read from the AlarmListener.registerOnApproachingSpeedSectionAlarms notification.
Implementation
List<SpeedSectionAlarm> get approachingSpeedSectionAlarms {
final OperationResult result = objectMethod(
_pointerId,
'AlarmService',
'getApproachingSpeedSectionAlarms',
);
final List<dynamic> json = result['result'];
return json.map((dynamic e) => SpeedSectionAlarm.fromJson(e)).toList();
}