toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CommandFilterKey.invokedAfter:
      return 'InvokedAfter';
    case CommandFilterKey.invokedBefore:
      return 'InvokedBefore';
    case CommandFilterKey.status:
      return 'Status';
    case CommandFilterKey.executionStage:
      return 'ExecutionStage';
    case CommandFilterKey.documentName:
      return 'DocumentName';
  }
}