static void setIntBulk(Map<String, int> map) { for (var entry in map.entries) { dataMap[entry.key] = Value()..int32Value = entry.value; } _flush(); }