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