withDirectory method

TypesOpenFlags withDirectory(
  1. bool value
)

Implementation

TypesOpenFlags withDirectory(bool value) {
  return TypesOpenFlags(value ? representation | 0x2 : representation & ~0x2);
}