toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AutomationType.crossAccount:
      return 'CrossAccount';
    case AutomationType.local:
      return 'Local';
  }
}