secondary constant

PatternSettings const secondary

The secondary placeholder syntax: { default | key }. Used by tr() for the second pass so args can be interpolated with single braces without colliding with translation keys.

Implementation

static const PatternSettings secondary = PatternSettings(
  opening: '{',
  closing: '}',
  delimiter: '|',
);