dataPtr<U extends NativeType> method Null safety

Pointer<U> dataPtr<U extends NativeType>()

Implementation

Pointer<U> dataPtr<U extends NativeType>() {
  return _dataPointer.value.cast<U>();
}