toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DeviceCgroupPermission.read:
      return 'read';
    case DeviceCgroupPermission.write:
      return 'write';
    case DeviceCgroupPermission.mknod:
      return 'mknod';
  }
}