asScooter property

ScooterBriefRouteInfo? get asScooter

Implementation

ScooterBriefRouteInfo? get asScooter => this.isScooter ? this._value as ScooterBriefRouteInfo : null;