DigitArg constructor Null safety

DigitArg(
  1. {required int max,
  2. required void calc(
    1. Model<ProgramOperation>,
    2. int
    ),
  3. ArgDone argDoneFactory(
    1. dynamic (
      1. Model<ProgramOperation>
      )
    ) = _defaultArgDoneFactory}
)

Implementation

DigitArg(
    {required this.max,
    required this.calc,
    this.argDoneFactory = _defaultArgDoneFactory});