Definition constructor

const Definition({
  1. required Type type,
  2. String? name,
})

Implementation

const Definition({
  required this.type,
  this.name,
});