has method

bool has(
  1. String key
)

Implementation

bool has(String key) {
  for (var value in values) {
    if (value.key == key) {
      return true;
    }
  }
  return false;
}