CountedCloner constructor
CountedCloner({})
Constructs a CountedCloner with optional size and nesting limits. Limits the total number of cloned values and the maximum recursion depth.
see also BaseCloner
Throws LimitExceededException if limits are exceeded during cloning.
Implementation
CountedCloner({
required bool doTypedClone,
int sizeLimit = SIZE_LIMIT_DEFAULT,
int nestLimit = NEST_LIMIT_DEFAULT,
}) : this._(sizeLimit, nestLimit, doTypedClone);