getOrDefault

open fun getOrDefault(@NonNull defaultConstraints: TurnConstraints): TurnConstraints

Get a built TurnConstraints object with the specified constraints.

Return

The built TurnConstraints object.

Parameters

defaultConstraints

The default constraints to use if no constraints are specified.