Trailer

data class Trailer(var length: Int, var isCamper: Boolean, var axles: List<Axle>) : Parcelable

Constructors

Link copied to clipboard
constructor(length: Int, isCamper: Boolean, axles: List<Axle>)

Properties

Link copied to clipboard

list of Axle objects

Link copied to clipboard

attribute if trailer is of a camper type

Link copied to clipboard
var length: Int

trailer length in millimeters

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)