Created
March 17, 2019 08:33
-
-
Save benznest/833efd9daf20843822e20b4885be5737 to your computer and use it in GitHub Desktop.
Importing with named in Dart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:math' as MyMath; | |
main(){ | |
double value = MyMath.log(2); | |
print(value); // 0.6931471805599453 | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment