toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Permission.enabled:
      return 'ENABLED';
    case Permission.disabled:
      return 'DISABLED';
  }
}