printf method
Prints a formatted string using Dart's string interpolation.
Simulates Java-style printf.
Example:
stdout.printf('Hello, %s! You are %d years old.\n', ['John', 30]);
Implementation
void printf(String format, List<Object?> args) {
String formatted = _format(format, args);
print(formatted);
}