Returns true if there is no key/value pair in the map.
static bool isEmptyMap(Map? map) { return map == null || map.isEmpty; }