Create an exception to throw if the JSON object at jsonPath is missing the key key.
jsonPath
key
@override dynamic missingKey(String jsonPath, String key) { return Exception('Missing key $key at $jsonPath'); }