Size2f.fromPointer constructor

Size2f.fromPointer(
  1. Pointer<Size2f> ptr, [
  2. bool attach = true
])

Implementation

Size2f.fromPointer(super.ptr, [bool attach = true]) : super.fromPointer() {
  if (attach) {
    finalizer.attach(this, ptr.cast(), detach: this);
  }
}