save function
Convenience function to save a List to the given path
in NPY format.
Alternatively use NdArray.save.
Implementation
Future<void> save(
String path,
List list, {
NpyDType? dtype,
NpyEndian? endian,
bool? fortranOrder,
}) async =>
NdArray.fromList(
list,
dtype: dtype,
endian: endian,
fortranOrder: fortranOrder,
).save(path);