allowEmbeddedPluralsAndGenders property

bool allowEmbeddedPluralsAndGenders
getter/setter pair

Are plural and gender expressions required to be at the top level of an expression, or are they allowed to be embedded in string literals.

For example, the following expression 'There are ${Intl.plural(...)} items'. is legal if allowEmbeddedPluralsAndGenders is true, but illegal if allowEmbeddedPluralsAndGenders is false.

Implementation

bool allowEmbeddedPluralsAndGenders = true;