1

For example: this is a private named constructor of DateTime class from date_time library :

external DateTime._now();

1 Answers1

1

I found a stack overflow post asking the same question:
What does external mean in Dart?

9.4 External Functions An external function is a function whose body is provided separately from its declaration. An external function may be a top-level function (17), a method

The body of the function is defined somewhere else. As far as I know this is used to fix different implementations for Dart VM in the browser and Dart VM on the Server.

-Günter Zöchbauer

Noah V.
  • 96
  • 4