progressLabel property

String get progressLabel

Format a progress step for display.

Implementation

String get progressLabel => switch (progressStep.value) {
  TeleportProgressStep.validating => 'Validating...',
  TeleportProgressStep.fetchingLogs => 'Fetching session logs...',
  TeleportProgressStep.fetchingBranch => 'Fetching branch...',
  TeleportProgressStep.checkingOut => 'Checking out branch...',
  TeleportProgressStep.creatingSession => 'Creating remote session...',
  TeleportProgressStep.uploadingBundle => 'Uploading git bundle...',
  TeleportProgressStep.done => 'Done',
  null => '',
};