getNumParams method

  1. @override
int getNumParams()
override

Gets the number of parameters this function accepts.

A value of -1 denotes that this function accepts a variable number of parameters.

Returns the number of parameters this function accepts.

Implementation

@override
int getNumParams() {
  return numParams;
}