ScooterBuilder
public class ScooterBuilder
extension VenueTransportSpecification.ScooterBuilder: NativeBase
extension VenueTransportSpecification.ScooterBuilder: Hashable
This class constructs a VenueTransportSpecification for a scooter.
-
Creates a new instance of this class.
Declaration
Swift
public init() -
Sets the scooter specification.
Declaration
Swift
public func withScooterSpecification(_ scooterSpecification: VenueScooterSpecification) -> VenueTransportSpecification.ScooterBuilderParameters
scooterSpecificationThe scooter specification.
Return Value
The
VenueTransportSpecification.ScooterBuilderobject with the scooter specification set to the new value. -
Builds the
VenueTransportSpecificationobject for a scooter with the specifications taken from theVenueTransportSpecification.ScooterBuilderobject.Declaration
Swift
public func build() -> VenueTransportSpecificationReturn Value
The
VenueTransportSpecificationobject created from theVenueTransportSpecification.ScooterBuilderobject.