Block.fromPointer constructor

Block.fromPointer(
  1. Pointer<Void> ptr, {
  2. Function? function,
})

Creating a Block from a Pointer.

Block created by this method do NOT have function property.

Implementation

Block.fromPointer(Pointer<Void> ptr, {this.function}) : super(ptr);