asFunction<DF extends Function> method
Null safety
Convert to Dart function, automatically marshalling the arguments and return value.
Implementation
external DF asFunction<@DartRepresentationOf("NF") DF extends Function>();