error method

void error(
  1. String message, [
  2. dynamic error,
  3. StackTrace? stackTrace
])

Implementation

void error(String message, [dynamic error, StackTrace? stackTrace]) {
  autoInit();
  Log.e(message, error, stackTrace);
}