console method
Logs the value and its type to the console.
name: The name of the log entry.
Implementation
void console({String name = 'NINJA UI EXTENSION'}) {
log(
'value: ${this?.toString()}, type: ${this?.runtimeType.toString()}',
name: name,
);
}