toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Permission.ro:
      return 'ro';
    case Permission.rw:
      return 'rw';
  }
}