copyProperties method

void copyProperties (
  1. dynamic dest,
  2. dynamic src
)

Copies content of one object to another object by recursively reading all properties from source object and then recursively writing them to destination object.

  • dest a destination object to write properties to.
  • src a source object to read properties from