updateActiveTrip method

  1. @override
void updateActiveTrip(
  1. bool isActiveTrip
)
override

Implementation

@override
void updateActiveTrip(bool isActiveTrip) {
  _isActiveTrip = isActiveTrip;

  if (!_isActiveTrip) {
    var last = description.last;
    description.clear();
    description.push(last);
    _forward();
  }
}