error method

void error(
  1. Object? message
)

Logs error messages

Implementation

void error(Object? message) => _logger.e('Error Log', error: '⚠️ $message');