get static method
Implementation
static Future<Map<String, dynamic>> get(
String referance,
String tag, {
bool silentOnMissing = false,
}) async {
try {
String? id = await ByBugDB.getIdByTag(referance, tag);
if (id == null) {
if (kDebugMode && !silentOnMissing) {
// ignore: avoid_print
print("❌ ByBugDatabase.get → ID bulunamadı: $referance / $tag");
}
return {};
} else {
return await ByBugDB.getData(id);
}
} catch (e, s) {
if (kDebugMode) {
print("❌ ByBugDatabase.get hatası: $e\n$s");
}
return {};
}
}