hasKey method

bool hasKey(
  1. String key
)

检查是否存在 key 数据

Implementation

bool hasKey(String key) => data.containsKey(key);