error static method
Implementation
static void error(String message, {Object? error, StackTrace? stackTrace}) {
if (kDebugMode) {
debugPrint('❌ [ERROR] $message');
if (error != null) debugPrint('❌ Error: $error');
if (stackTrace != null) debugPrint('❌ StackTrace: $stackTrace');
}
}