bool isNotEmpty(Map map)

Source

static bool isNotEmpty(Map map) => map.keys.isNotEmpty;