getNonNullableType function
Gets the non-nullable version of a type
Implementation
Type getNonNullableType(Type type) {
// In a code generation approach, this would be handled at compile time
// For runtime, we can only work with the type as-is
return type;
}