WrongNumberOfArgumentsError constructor

const WrongNumberOfArgumentsError({
  1. required SyntacticEntity syntacticEntity,
  2. required int argumentsCount,
  3. required int expectedArgumentsCount,
})

Implementation

const WrongNumberOfArgumentsError({
  required this.syntacticEntity,
  required this.argumentsCount,
  required this.expectedArgumentsCount,
}) : assert(argumentsCount != expectedArgumentsCount);