printSuccess function
Prints text
to the console as a success message with green color.
Implementation
void printSuccess(String text) {
print('\x1B[32m$text\x1B[0m');
}
Prints text
to the console as a success message with green color.
void printSuccess(String text) {
print('\x1B[32m$text\x1B[0m');
}