MBBlock constructor

MBBlock({
  1. required int id,
  2. required String title,
  3. required String subtitle,
  4. required int order,
  5. required List<MBSection> sections,
})

Initializes a MBBlock with all its data

Implementation

MBBlock({
  required this.id,
  required this.title,
  required this.subtitle,
  required this.order,
  required this.sections,
});