consoleError static method

void consoleError(
  1. Object? object
)

Prints a string representation of the provided object to the console as an error.

Implementation

static void consoleError(Object? object) =>
    web.console.error(object?.toString().toJS);