instantiate method

  1. @override
SharedPointerMapped<T> instantiate(
  1. SharedPointer<T> data
)
override

Creates a new instance with data.

Implementation

@override
SharedPointerMapped<T> instantiate(SharedPointer<T> data) {
  return data as SharedPointerMapped<T>;
}