id property
String
id
Unique identifier for updating existing data point.
We shouldn't have to worry about hash collisions until we have about 2^128 points.
This id should stay constant even if the tags.keys
are reordered.
(Because we are using an ordered SplayTreeMap to generate the id.)
Implementation
String get id => sha256.convert(utf8.encode('$_tags')).toString();