getAsNullableType<T> method
Converts object value into a value defined by specied typecode. If conversion is not possible it returns null.
type
the TypeCode that defined the type of the result Returns value defined by the typecode or null if conversion is not supported.
Implementation
T? getAsNullableType<T>(TypeCode type) {
return TypeConverter.toNullableType<T>(type, _value);
}