Group class
Grouped data class, which represents a data group obtained by the user when querying the grouped data.
For example, the user can query the grouped weight data collected within a period of time to learn about the maximum, minimum, and average body weight over this period of time. Currently, data can be grouped by time, activity record, activity type, or activity fragment.
Constructors
Properties
- activityRecord ↔ ActivityRecord?
-
The activity record if data is grouped by activity record.
getter/setter pair
- activityType ↔ int?
-
getter/setter pair
- endTime ↔ DateTime?
-
getter/setter pair
- getActivity → String?
-
Obtains the activity as a string.
no setter
- groupType ↔ GroupType?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- hasMoreSample ↔ bool?
-
Whether there is additional data.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sampleSets
↔ List<
SampleSet> ? -
getter/setter pair
- startTime ↔ DateTime?
-
getter/setter pair
Methods
-
getGroupTypeString(
int groupType) → String - Obtains the name the group type.
-
getGroupTypeValue(
GroupType? groupType) → int -
getSampleSet(
DataType dataType) → SampleSet? - Returns the sampling dataset based on data type.
-
hasSameSample(
Group group) → bool - Checks whether the group has the same structure.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override