BaseCloner constructor

const BaseCloner(
  1. bool doTypedClone
)

Creates a BaseCloner with the specified cloning mode.

If doTypedClone is true, element types are preserved and nested plain maps will throw UnsupportedTypedCloneException during typed cloning.

Implementation

const BaseCloner(this.doTypedClone);