asTaxi method

MasstransitTaxi? asTaxi()

Implementation

MasstransitTaxi? asTaxi() {
  if (_value is MasstransitTaxi) {
    return _value;
  }
  return null;
}