all property

Get all declarations as a single list.

Implementation

List<DeclarationInfo> get all => [
  ...functions,
  ...classes,
  ...variables,
  ...enums,
  ...extensions,
];