copy method

void copy(
  1. PathPoint from
)

Implementation

void copy(PathPoint from) {
  _type = from._type;
  Vec2D.copy(_translation, from._translation);
  if (from._weights != null) {
    _weights = Float32List.fromList(from._weights);
  }
}