setDataRealTime static method
Implementation
static Future<bool> setDataRealTime(
{required String path, required Map<String, Object> data}) async {
try {
await _db.child(path).set(data);
return true;
} catch (e) {
return false;
}
}