NBComponent constructor Null safety

NBComponent(
  1. {required NBHeading heading,
  2. required NBBox box,
  3. required NbCardModel card}
)

Implementation

NBComponent({
  required NBHeading heading,
  required NBBox box,
  required NbCardModel card,
}) {
  _heading = heading;
  _box = box;
  _card = card;
}