byKey method

JsonNode byKey(
  1. String key
)

Get JsonNode by String key.

Return JsonMissing is key is not found.

Implementation

JsonNode byKey(String key) {
  if (hasKey(key)) {
    return data[key]!;
  }
  return JsonMissing(key: key);
}