message property

String get message

Implementation

String get message {
  switch (this) {
    case (OnboardingStatus.ACTIVATE):
      return 'Your atsign got reactivated. Please activate with the new QRCode available on ${AppConstants.serverDomain} website.';
    case (OnboardingStatus.ENCRYPTION_PRIVATE_KEY_NOT_FOUND):
    case (OnboardingStatus.ENCRYPTION_PUBLIC_KEY_NOT_FOUND):
    case (OnboardingStatus.PKAM_PRIVATE_KEY_NOT_FOUND):
    case (OnboardingStatus.PKAM_PUBLIC_KEY_NOT_FOUND):
      return 'Fatal error occurred. Please contact support@atsign.com';
    case (OnboardingStatus.RESTORE):
      return 'Please restore it with the available backup zip file as the local keys were missing.';
    default:
      return '';
  }
}