idProvider property
The following function is included to ease the use of custom data types whether it be a map with key 'id' or 'pk' or a custom class, just use this function to provide the ids The function that returns the id of the node.
Implementation
String? Function(E data) idProvider;