Node constructor

  1. @Deprecated('Please use the Node.Id')
Node(
  1. Widget? data,
  2. {Key? key}
)

Implementation

@Deprecated('Please use the Node.Id')
Node(this.data, {Key? key}) {
  this.key = ValueKey(key?.hashCode ?? data.hashCode);
}