toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ReadAccessType.allow:
      return 'ALLOW';
    case ReadAccessType.deny:
      return 'DENY';
  }
}