isPedestrian property

bool get isPedestrian

Implementation

bool get isPedestrian => this._index == 2;