nilBlock top-level property

Block nilBlock
final

Stands for NSBlock in iOS and macOS. Block can be used as an argument to a method and as a callback.

You can create Block from Dart Function, or just obtain Block from native pointer address.

Implementation

final Block nilBlock = Block.fromPointer(nullptr);