nestedKey property

  1. @Deprecated('Use an absolute dotted dataKey, plus paginationKey to locate the ' 'pagination envelope. nestedKey will be removed in a future release.')
String? nestedKey
final

Dotted path to the envelope that scopes dataKey and pagination.

Superseded now that dataKey accepts a full dotted path. What used to need two relative anchors is now two absolute ones:

// before
nestedKey: 'result', dataKey: 'data', hasPagination: true

// after
dataKey: 'result.data', paginationKey: 'result', hasPagination: true

While set, it keeps its original meaning: dataKey and the pagination envelope are both resolved relative to it.

Implementation

@Deprecated(
  'Use an absolute dotted dataKey, plus paginationKey to locate the '
  'pagination envelope. nestedKey will be removed in a future release.',
)
final String? nestedKey;