byKey method
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);
}
Get JsonNode by String key.
Return JsonMissing is key is not found.
JsonNode byKey(String key) {
if (hasKey(key)) {
return data[key]!;
}
return JsonMissing(key: key);
}