clearStdAccumulator method

void clearStdAccumulator()

Clear the accumulated set of used base functions.

Call this between encoding independent packages when reusing a single DartEncoder instance.

Implementation

void clearStdAccumulator() {
  _usedBaseFunctions.clear();
  _usedCollectionsFunctions.clear();
  _usedProtoFunctions.clear();
  _usedConvertFunctions.clear();
}