toFloat32List method
Creates a Float32List from this pointer by copying the pointer's data.
length is the length of the array.
null is returned if the pointer is equal to nullptr.
Implementation
Float32List? toFloat32List(int length) {
  if (this == nullptr) {
    return null;
  }
  final Float32List list = Float32List(length);
  for (int i = 0; i < length; i++) {
    list[i] = this[i];
  }
  return list;
}