toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Action.clipboardCopyFromLocalDevice:
      return 'CLIPBOARD_COPY_FROM_LOCAL_DEVICE';
    case Action.clipboardCopyToLocalDevice:
      return 'CLIPBOARD_COPY_TO_LOCAL_DEVICE';
    case Action.fileUpload:
      return 'FILE_UPLOAD';
    case Action.fileDownload:
      return 'FILE_DOWNLOAD';
    case Action.printingToLocalDevice:
      return 'PRINTING_TO_LOCAL_DEVICE';
  }
}