withRead method

TypesDescriptorFlags withRead(
  1. bool value
)

Implementation

TypesDescriptorFlags withRead(bool value) {
  return TypesDescriptorFlags(
    value ? representation | 0x1 : representation & ~0x1,
  );
}