import "package:console/console.dart"; void main() { // Initialize the Console. Throws an exception if advanced terminal features are not supported. Console.init(); // Use the library... }