initializer method

Creates and returns the NativeCallable<C> wrapping function.

Called exactly once, on first access of nativeFunction. Subclasses must override this to provide the appropriate NativeCallable constructor, typically .listener(function):

@override
initializer() => .listener(function);

Implementation

@override
initializer() => .listener(function);