storeValue static method
Implementation
static Future<String> storeValue(
String reference, String tag, List valueList) async {
try {
DatabaseReference ref = FirebaseDatabase.instance.ref(reference);
String val = JeaFire.encode(valueList);
await ref.child('"$tag"').set(val);
return "successful";
} catch (e) {
return "error: ${e.toString()}";
}
}