toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ReceiptFilterPolicy.block:
      return 'Block';
    case ReceiptFilterPolicy.allow:
      return 'Allow';
  }
}