create static method

dynamic create(
  1. dynamic root,
  2. dynamic path,
  3. dynamic parsedPath
)

Implementation

static create(root, path, parsedPath) {
  if (!(root != null && (root is AnimationObjectGroup ||
      root.runtimeType.toString() == "AnimationObjectGroup"))) {  //GL
    return PropertyBinding(root, path, parsedPath);
  } else {
    return Composite(root, path, parsedPath);
  }
}