Menu constructor

Menu({
  1. required MenuData data,
  2. Map<String, Link?> links = const {},
  3. ComponentMeta? meta,
  4. required ElementTypeEnum? type,
})

Implementation

Menu(
    {required this.data,
    Map<String, Link?> links = const {},
    ComponentMeta? meta,
    required ElementTypeEnum? type})
    : super(type: type, links: links, meta: meta);