exports top-level property Null safety

dynamic exports

Reference to the main module's exports object.

Note that this is not actually a global variable and currently only works for the application's main module, meaning it should only be used from inside the main function of a Dart application.

Consider using setExport to register exports inside your main function.

Implementation

external dynamic get exports;