Dart’s core library includes support for generating random numbers with the Random class found in dart:math.
Random
dart:math
Dart provides native methods in its core num type for rounding operations.
num
Dart itself does not include a built-in library for complex numbers, necessitating either the implementation of a custom complex number class or the use of a third-party library.