SampledData class

A series of measurements taken by a device, with upper and lower limits. The limits may be pre-coordinated, or may be defined based on the actual data values, or a combination of both.

Constructors

SampledData({Quantity? origin, num? period, num? factor, num? lowerLimit, num? upperLimit, int? dimensions, String? data})
Constructs a new SampledData with details about sampling.
SampledData.fromJson(JsonObject _json)
Constructs a new SampledData instance from the provided JSON object.

Properties

data String?
A series of data points.
no setter
dimensions int?
The number of sample points at each time point.
no setter
factor num?
A correction factor that is applied to the sampled data points before they are added to the origin.
no setter
hashCode int
The hash code for this object.
no setteroverride
json → JsonObject
Converts this SampledData instance to a JSON object.
no setter
lowerLimit num?
The lower limit of detection of the measured points.
no setter
origin Quantity?
The base quantity that a measured value of zero represents.
no setter
period num?
The length of time between sampling times, measured in milliseconds.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
upperLimit num?
The upper limit of detection of the measured points.
no setter

Methods

copyWith({Quantity? origin, num? period, num? factor, num? lowerLimit, num? upperLimit, int? dimensions, String? data}) SampledData
Create a deep copy of this SampledData instance.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

dataField → const FieldDefinition<String>
Field definition for data
dimensionsField → const FieldDefinition<int>
Field definition for dimensions
factorField → const FieldDefinition<num>
Field definition for factor
fieldDefinitions → const List<FieldDefinition<Object>>
All field definitions for SampledData
lowerLimitField → const FieldDefinition<num>
Field definition for lowerLimit
originField → const FieldDefinition<Quantity>
Field definition for origin
periodField → const FieldDefinition<num>
Field definition for period
upperLimitField → const FieldDefinition<num>
Field definition for upperLimit