toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case FlowDefinitionStatus.initializing:
      return 'Initializing';
    case FlowDefinitionStatus.active:
      return 'Active';
    case FlowDefinitionStatus.failed:
      return 'Failed';
    case FlowDefinitionStatus.deleting:
      return 'Deleting';
  }
}