copy method

  1. @override
SharedPointerAddress copy()
override

Creates a copy of this instance.

Implementation

@override
SharedPointerAddress copy() {
  var p = parameters;
  if (p != null) {
    p = List.from(p);
  }
  return SharedPointerAddress(memoryAddress, type, p);
}