toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case LastUpdateStatus.successful:
      return 'Successful';
    case LastUpdateStatus.failed:
      return 'Failed';
    case LastUpdateStatus.inProgress:
      return 'InProgress';
  }
}