Point class

Point defines values of a single measurement.

Constructors

Point(String name)
Create a new Point with specified a measurement name.

Properties

fields SplayTreeMap<String, dynamic>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags SplayTreeMap<String, String>
getter/setter pair
timestamp ↔ dynamic
getter/setter pair

Methods

addField(String name, dynamic value) Point
Adds a tag.
addTag(String name, String value) Point
Adds a tag.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
time(dynamic time) Point
Sets point time.
toLineProtocol(WritePrecision precision, {Map? defaultTags}) String
Creates an InfluxDB protocol line out of this instance. |measurement,tag_set field_set timestamp
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

measurement(String name) Point
Sets point's measurement.