Digit constructor

const Digit({
  1. String? name,
})

Implementation

const Digit({String? name}) : super(name);