Component constructor

Component({
  1. List<Pointer?>? children = const [],
  2. Map<String, dynamic>? models = const {},
  3. String? id,
  4. String? label,
  5. String? name,
  6. Map<String, Link?> links = const {},
  7. ComponentMeta? meta,
  8. required ElementTypeEnum? type,
})

Returns a new Component instance.

Implementation

Component(
    {this.children = const [],
    this.models = const {},
    String? id,
    String? label,
    String? name,
    Map<String, Link?> links = const {},
    ComponentMeta? meta,
    required ElementTypeEnum? type})
    : super(
          type: type,
          links: links,
          meta: meta,
          id: id,
          label: label,
          name: name);