getAsNullableType<T> method
Converts array element into a value defined by specied typecode. If conversion is not possible it returns null.
type
the TypeCode that defined the type of the resultindex
an index of element to get. Returns element value defined by the typecode or null if conversion is not supported.
Implementation
T? getAsNullableType<T>(TypeCode type, int index) {
var value = _values[index];
return TypeConverter.toNullableType<T>(type, value);
}