keyBuilder property

(Object Function(T item)?) keyBuilder
final

When reordering, a key identifying the element is required.

This callback can be specified to specify its key element.

If not specified, item is used as is.

リオーダーを行う場合、要素を識別するキーが必要になります。

このコールバックを指定するとそのキーとなる要素を指定することができます。

指定されない場合は、itemがそのまま利用されます。

Implementation

final Object Function(T item)? keyBuilder;