isTruck property

bool get isTruck

Implementation

bool get isTruck => this._index == 6;