toProvider 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 that the current node is pointing to.
Implementation
String? Function(E data) toProvider;