asFitness method

MasstransitFitness? asFitness()

Implementation

MasstransitFitness? asFitness() {
  if (_value is MasstransitFitness) {
    return _value;
  }
  return null;
}