set static method
Implementation
static set({
required String collectionName,
required Map<String, dynamic> value,
}) async {
var ref = getRef(
collectionName: collectionName,
);
try {
if (Platform.isWindows) {
return await ref.set(value);
} else {
return await ref.set(value);
}
} on Exception catch (_) {
print(_);
}
}