:Dart:Library Node

represents a Dart library

  • represents a single Dart file located in the ./lib directory of the containing package
    • libraries that are spread over multiple files using the part of directive are currently not supported
  • is realized as an extension of the matching :File:Local node

Properties

NameDescription
fqnFully qualified name of the library. Uses the package FQN and a path relative to the ./lib directory of the package (e.g. package:my_package/my_lib.dart)

Relations

NameTarget Label(s)CardinalityDescription
DECLARES:Dart:Class0..*globally declared classes of the library
DECLARES:Dart:Function0..*globally declared functions of the library
DECLARES:Dart:Variable0..*globally declared variables/constants of the library
DECLARES:Dart:Mixin0..*globally declared mixins of the library
DECLARES:Dart:Enum0..*globally declared enums of the library