isPublicTransport property

bool get isPublicTransport

Implementation

bool get isPublicTransport => this._index == 3;