copy method

void copy(
  1. String fromSelector,
  2. String toSelector
)

Copy a value from one path to another in the document.

Implementation

void copy(String fromSelector, String toSelector) {
  final value = get(fromSelector);
  set(toSelector, value);
}