isCar property

bool get isCar

Implementation

bool get isCar => this._index == 1;