defer method Null safety

void defer(
  1. FutureOr document(

    Allows asynchronous code during documentation.

    Documentation methods are synchronous. Asynchronous methods may be called and awaited on in document. All document closures will be executes and awaited on before finishing document. These closures are called in the order they were added.


    void defer(FutureOr Function() document) {