DependencyNode constructor

DependencyNode({
  1. required String id,
  2. required DependencyNodeType type,
  3. String? widgetClassKey,
  4. String? displayName,
  5. Set<String>? imports,
  6. Set<String>? importedBy,
  7. Set<String>? componentClassKeys,
  8. Set<String>? navigationTargetPageKeys,
  9. Set<String>? sheetDialogComponentKeys,
})

Implementation

DependencyNode({
  required this.id,
  required this.type,
  this.widgetClassKey,
  this.displayName,
  Set<String>? imports,
  Set<String>? importedBy,
  Set<String>? componentClassKeys,
  Set<String>? navigationTargetPageKeys,
  Set<String>? sheetDialogComponentKeys,
}) : imports = imports ?? <String>{},
     importedBy = importedBy ?? <String>{},
     componentClassKeys = componentClassKeys ?? <String>{},
     navigationTargetPageKeys = navigationTargetPageKeys ?? <String>{},
     sheetDialogComponentKeys = sheetDialogComponentKeys ?? <String>{};