int getRequiredIntFieldBy( String key, { int defaultValue = 0, }) => getField(key).asInt( defaultValue: defaultValue, );