CarBuilder
public class CarBuilder
extension VenueTransportSpecification.CarBuilder: NativeBase
extension VenueTransportSpecification.CarBuilder: Hashable
This class constructs a VenueTransportSpecification for a car.
-
Creates a new instance of this class.
Declaration
Swift
public init() -
Sets the car specification.
Declaration
Swift
public func withCarSpecification(_ carSpecification: VenueCarSpecification) -> VenueTransportSpecification.CarBuilderParameters
carSpecificationThe car specification.
Return Value
The
VenueTransportSpecification.CarBuilderobject with the car specification set to the new value. -
Builds the
VenueTransportSpecificationobject for a car with the specifications taken from theVenueTransportSpecification.CarBuilderobject.Declaration
Swift
public func build() -> VenueTransportSpecificationReturn Value
The
VenueTransportSpecificationobject created from theVenueTransportSpecification.CarBuilderobject.