You can't create external functions as a Dart programmer.
External functions are a way for the Dart implementations (the VM and Dart2js) to inject their own implementations of a method into a shared platform library.
It's in the specification in order to make the platform libraries syntactically correct Dart, but the "patch" functionality that we use to specify the implementation isn't accessible.
The word "native" isn't a keyword in Dart. It is used internally in some VM files for the VM to make their Dart functions have C++ implementations, but it is not valid Dart syntax.
The built-in identifier "external" can only really be used inside platform libraries.
/L