TaxiBuilder
public class TaxiBuilder
extension VenueTransportSpecification.TaxiBuilder: NativeBase
extension VenueTransportSpecification.TaxiBuilder: Hashable
This class constructs a VenueTransportSpecification for a taxi.
-
Creates a new instance of this class.
Declaration
Swift
public init() -
Sets the taxi specification.
Declaration
Swift
public func withTaxiSpecification(_ taxiSpecification: VenueTaxiSpecification) -> VenueTransportSpecification.TaxiBuilderParameters
taxiSpecificationThe taxi specification.
Return Value
The
VenueTransportSpecification.TaxiBuilderobject with the taxi specification set to the new value. -
Builds the
VenueTransportSpecificationobject for a taxi with the specifications taken from theVenueTransportSpecification.TaxiBuilderobject.Declaration
Swift
public func build() -> VenueTransportSpecificationReturn Value
The
VenueTransportSpecificationobject created from theVenueTransportSpecification.TaxiBuilderobject.