TollBooth constructor
- List<
TollCollectionMethod> tollCollectionMethods, - List<
PaymentMethod> paymentMethods
Creates a new instance.
tollCollectionMethodsIndicates the type.paymentMethodsIndicates the supported payment methods.
Implementation
TollBooth(this.tollCollectionMethods, this.paymentMethods);