toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ReadWriteType.readOnly:
      return 'ReadOnly';
    case ReadWriteType.writeOnly:
      return 'WriteOnly';
    case ReadWriteType.all:
      return 'All';
  }
}