LabelArg constructor Null safety

LabelArg(
  1. {required int maxDigit,
  2. List<ProgramOperation> letters = const [],
  3. required void f(
    1. Model<ProgramOperation> m,
    2. int? v
    ),
  4. bool indirect = false,
  5. bool iFirst = false,
  6. bool noI = false}
)

Implementation

LabelArg(
    {required int maxDigit,
    List<ProgramOperation> letters = const [],
    required void Function(Model m, int? v) f,
    bool indirect = false,
    bool iFirst = false,
    bool noI = false})
    : super(
          synonyms: Arg.gsbLabelSynonyms,
          children:
              _makeChildren(maxDigit, indirect, iFirst, noI, letters, f));