toJson method
stores this vector in json format
Implementation
Map<String, dynamic> toJson() {
Map<String, dynamic> json = {};
json["rows"] = nRows;
json["data"] =
columnData.buffer.asFloat32List(0, nRows).toList(growable: false);
return json;
}