upgrades method

List<String> upgrades(
  1. String transport
)

Returns a list of available transports for upgrade given a certain transport.

Implementation

List<String> upgrades(String transport) {
  if (!allowUpgrades) return List.empty();
  return Transports.upgradesTo(transport);
}