Casts a list element or nested value value to T.
value
T
T gqlifyCast<T>(Object? value, String location) { if (value is T) return value; throw _mismatch(location, T, value, true); }