generator property

ListFormatGenerator generator
final

Returns a function that transforms a container prefix (e.g. "foo") and an optional element key into the key path for a single list item.

  • For ListFormat.indices, key is the element index string.
  • For other formats, key is ignored.

Implementation

final ListFormatGenerator generator;