Builder

constructor()

Parameters

speed

Number indicating the posted speed limit.

unit

String indicating the unit of speed, either as km/h or mph.

unknown

Boolean is true if the speed limit is not known, otherwise null.

none

Boolean is true if the speed limit is unlimited, otherwise null.