toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AppStatus.deleted:
      return 'Deleted';
    case AppStatus.deleting:
      return 'Deleting';
    case AppStatus.failed:
      return 'Failed';
    case AppStatus.inService:
      return 'InService';
    case AppStatus.pending:
      return 'Pending';
  }
}