toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case LifeCycleState.creating:
      return 'creating';
    case LifeCycleState.available:
      return 'available';
    case LifeCycleState.updating:
      return 'updating';
    case LifeCycleState.deleting:
      return 'deleting';
    case LifeCycleState.deleted:
      return 'deleted';
  }
}