CustomWarningProvider constructor
- int getCustomWarningTypeLambda(),
- List<
CustomWarning> getWarningsLambda()
A abstract class representing a provider of custom warnings based on vehicle position.
Implementation
factory CustomWarningProvider(
int Function() getCustomWarningTypeLambda,
List<CustomWarning> Function(SegmentData, SegmentData?) getWarningsLambda,
) => CustomWarningProvider$Lambdas(
getCustomWarningTypeLambda,
getWarningsLambda,
);