propertyNames property

List<String> get propertyNames

The full names of the checked properties, with prefix applied.

Implementation

List<String> get propertyNames => [
  for (final property in [?name, ...names])
    if (prefix.isEmpty)
      property
    else
      '${prefix.endsWith('.') ? prefix : '$prefix.'}$property',
];