StackLiftingNormalOperation.floatOnly constructor Null safety

StackLiftingNormalOperation.floatOnly(
  1. {required void floatCalc(
    1. Model<ProgramOperation>
    ),
  2. void complexCalc(
    1. Model<ProgramOperation>
    )?,
  3. required bool needsStackLiftIfEnabled(
    1. Model<ProgramOperation>
    ),
  4. required String name,
  5. int maxOneByteOpcodes = 9999}
)

Implementation

StackLiftingNormalOperation.floatOnly(
    {required void Function(Model) floatCalc,
    void Function(Model)? complexCalc,
    required this.needsStackLiftIfEnabled,
    required String name,
    int maxOneByteOpcodes = 9999})
    : super.floatOnly(
          floatCalc: floatCalc,
          complexCalc: complexCalc,
          name: name,
          maxOneByteOpcodes: maxOneByteOpcodes);