ApiChangeTreeNode constructor

ApiChangeTreeNode({
  1. required Declaration? nodeDeclaration,
  2. List<ApiChange>? changes,
})

creates a new ApiChangeTreeNode instance

Implementation

ApiChangeTreeNode({
  required this.nodeDeclaration,
  List<ApiChange>? changes,
})  : changes = changes ?? [],
      children = {};