SMART_NAMES property
Smart name generator that infers names from common property patterns:
- Email addresses →
"email"
- Short strings →
"name"
- Small ints →
"age"
- Large ints →
"timestamp"
- Lists →
"items"
, Sets →"collection"
, Maps →"data"
, etc.
Implementation
static final SMART_NAMES = ToStringOptions(
customParameterNameGenerator: _smartNameGenerator,
);