ExpandCallback typedef Null safety

ExpandCallback = bool Function(NodeData? item)

Implementation

typedef ExpandCallback = bool Function(NodeData? item);