Root.makeEmpty constructor

Root.makeEmpty()

Factory function for generating an empty root, usually used when early errors are encountered.

Implementation

factory Root.makeEmpty() {
  return Root(apis: <Api>[], classes: <Class>[], enums: <Enum>[]);
}