Fixes & Updates - 2026-06-01: Integrate Back-End v3 updates, fix call/connection issues across apps

This commit is contained in:
Hamza-Ayed
2026-06-01 23:36:57 +03:00
parent e17866aa2f
commit ce984324ca
12 changed files with 160 additions and 82 deletions

View File

@@ -1,10 +1,15 @@
import 'dart:developer' as developer;
import 'package:flutter/foundation.dart';
class Log {
Log._();
static void print(String value, {StackTrace? stackTrace}) {
developer.log(value, name: 'LOG', stackTrace: stackTrace);
static void print(dynamic value, {StackTrace? stackTrace}) {
// استخدام debugPrint بدلاً من print العادي لتجنب تعليق الجهاز في الرسائل الطويلة
debugPrint("LOG: ${value.toString()}");
// يمكن أيضاً إرسالها للـ developer log لضمان ظهورها في الـ Debug Console الخاص بـ VS Code
developer.log(value.toString(), name: 'LOG', stackTrace: stackTrace);
}
static Object? inspect(Object? object) {