toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AutoSnapshotStatus.success:
      return 'Success';
    case AutoSnapshotStatus.failed:
      return 'Failed';
    case AutoSnapshotStatus.inProgress:
      return 'InProgress';
    case AutoSnapshotStatus.notFound:
      return 'NotFound';
  }
}