DocComponent.meta constructor

DocComponent.meta({
  1. required String name,
  2. required String description,
  3. String? filePath,
})

Implementation

factory DocComponent.meta({required String name, required String description, String? filePath}) {
  return DocComponent(
    name: name,
    type: DocComponentType.metaType,
    description: description,
    constructors: const [],
    properties: const [],
    methods: const [],
    filePath: filePath,
  );
}