@override Object toJson() => { 'values': [for (final i in values) encodeDouble(i)], 'dimensions': [for (final i in dimensions) i.toString()], };