error abstract method

void error(
  1. String message, {
  2. Object? error,
  3. StackTrace? stackTrace,
})

Log an error message.

Implementation

void error(String message, {Object? error, StackTrace? stackTrace});