Field class

Fields for common data types.

Constructors

Field(String name, int format, {bool isOptional = false})
const
Field.fromMap(Map map)
factory
Field.newDoubleField(String name)
Creates an attribute that contains Double values.
const
Field.newFloatField(String name)
Creates an attribute that contains float values.
const
Field.newIntField(String name)
Creates an attribute that contains integer values.
const
Field.newLongField(String name)
Creates an attribute that contains long values.
const
Field.newMapField(String name)
Creates an attribute that contains mapped values.
const
Field.newStringField(String name)
Creates an attribute that contains string values.
const

Properties

format int
Attribute type.
final
hashCode int
The hash code for this object.
no setteroverride
isOptional bool
Indicates whether it is optional.
final
name String
Field Name.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

ALL_SLEEP_TIME → const Field
Total sleep duration.
ALTITUDE → const Field
ASCENT_RATE → const Field
AVG → const Field
AVG_DEPTH → const Field
Average depth of diving.
AVG_EVERSION_EXCURSION → const Field
AVG_GC_TIME_BALANCE → const Field
Average left and right ground contact balance.
AVG_GROUND_CONTACT_TIME → const Field
AVG_GROUND_HANG_TIME_RATE → const Field
AVG_GROUND_IMPACT_ACCELERATION → const Field
AVG_HANG_TIME → const Field
AVG_IMPACT_PEAK → const Field
Average active peak.
AVG_SWING_ANGLE → const Field
AVG_VERTICAL_IMPACT_RATE → const Field
Average impact loading rate.
AVG_VERTICAL_OSCILLATION → const Field
Average vertical oscillation.
AVG_VERTICAL_RATIO → const Field
Average vertical stride ratio.
AWAKE_TIME → const Field
Duration when staying awake.
BREAKTHROUGH_SCORE → const Field
BREATH_HOLDING_TIME → const Field
Breath holding time.
BREATH_HOLDING_TRAIN_RHYTHM → const Field
Number of training sessions.
BREATH_TIME → const Field
Breathing duration.
BURST_SCORE → const Field
DEEP_SLEEP_PART → const Field
Number of deep sleep segments.
DEEP_SLEEP_TIME → const Field
Deep sleep duration.
DEPTH → const Field
DESCENT_RATE → const Field
DIAPHRAGM_TIME → const Field
Diaphragm contraction.
DIVE_DEPTH → const Field
DIVING_COUNT → const Field
Number of dives.
DIVING_DURATION → const Field
DIVING_TIME → const Field
Underwater time.
DOUBLE_SHAKE → const Field
DREAM_TIME → const Field
REM sleep duration.
ENTERING_WATER_LATITUDE → const Field
ENTERING_WATER_LONGITUDE → const Field
EVENT_NAME → const Field
EVERSION_EXCURSION → const Field
EXERCISE_TYPE → const Field
EXITING_WATER_LATITUDE → const Field
EXITING_WATER_LONGITUDE → const Field
FALL_ASLEEP_TIME → const Field
Time when the user falls asleep, expressed as a Unix timestamp.
FATIGUE_INDEX → const Field
FIELD_ALTITUDE → const Field
Altitude.
FIELD_APPEARANCE → const Field
Number of occurrences within a period of time.
FIELD_ASCENT_TOTAL → const Field
FIELD_AVG → const Field
Average value.
FIELD_AVG_BODY_FAT_RATE → const Field
Average body fat percentage.
FIELD_AVG_JUMP_HEIGHT → const Field
FIELD_AVG_PASSAGE_DURATION → const Field
FIELD_AVG_SKELETAL_MUSCLEL_MASS → const Field
Average skeletal muscle mass.
FIELD_BASAL_METABOLISM → const Field
Basic metabolism (kcal/day).
FIELD_BMI → const Field
Body mass index, which is calculated via dividing the weight kilograms by the square meter of height (kg/m2).
FIELD_BODY_AGE → const Field
Body age.
FIELD_BODY_FAT → const Field
Body fat (kg), accurate to the first decimal place.
FIELD_BODY_FAT_RATE → const Field
Body fat rate (percentage), with a value ranging from 0 to 100.
FIELD_BODY_SCORE → const Field
Body score (score).
FIELD_BODY_WEIGHT → const Field
Weight (kg).
FIELD_BONE_SALT → const Field
Bone salt amount (kg).
FIELD_BPM → const Field
Heart rate.
FIELD_CALORIES → const Field
Calories (kcal).
FIELD_CALORIES_TOTAL → const Field
Calories (kcal).
FIELD_CIRCUMFERENCE → const Field
Circumference of a body part (such as the hip, chest, and waist) in centimeters.
FIELD_COORDINATE → const Field
FIELD_DESCENT_TOTAL → const Field
FIELD_DISTANCE → const Field
Distance (m).
FIELD_DISTANCE_DELTA → const Field
Distance covered since the last reading.
FIELD_DURATION → const Field
FIELD_FOOD → const Field
Food type.
FIELD_FRAGMENTS → const Field
Fragments.
FIELD_HEIGHT → const Field
Height (m).
FIELD_HYDRATE → const Field
Volume (liter).
FIELD_IMPEDANCE → const Field
Impedance (ohm).
FIELD_INTENSITY → const Field
Workout intensity.
FIELD_JUMP_HEIGHT → const Field
FIELD_JUMP_TIMES → const Field
FIELD_LAST → const Field
FIELD_LATITUDE → const Field
Latitude (degree).
FIELD_LONGITUDE → const Field
Longitude (degree).
FIELD_MAX → const Field
Maximum value.
FIELD_MAX_BODY_FAT_RATE → const Field
Maximum body fat percentage
FIELD_MAX_JUMP_HEIGHT → const Field
FIELD_MAX_LATITUDE → const Field
High latitude (degree).
FIELD_MAX_LONGITUDE → const Field
High longitude (degree).
FIELD_MAX_PASSAGE_DURATION → const Field
FIELD_MAX_SKELETAL_MUSCLEL_MASS → const Field
Maximum skeletal muscle mass.
FIELD_MEAL → const Field
Meal type.
FIELD_MIN → const Field
Minimum value.
FIELD_MIN_BODY_FAT_RATE → const Field
Minimum body fat percentage.
FIELD_MIN_JUMP_HEIGHT → const Field
FIELD_MIN_LATITUDE → const Field
Low latitude (degree).
FIELD_MIN_LONGITUDE → const Field
Low longitude (degree).
FIELD_MIN_PASSAGE_DURATION → const Field
FIELD_MIN_SKELETAL_MUSCLEL_MASS → const Field
Minimum skeletal muscle mass.
FIELD_MOISTURE → const Field
Water weight (kg).
FIELD_MOISTURE_RATE → const Field
Water rate (percentage).
FIELD_MUSCLE_MASS → const Field
Muscle mass (kg).
FIELD_NUTRIENTS → const Field
Nutrients.
FIELD_NUTRIENTS_FACTS → const Field
Nutrition facts.
FIELD_PASSAGE_DURATION → const Field
FIELD_POSSIBILITY → const Field
Confidence, with a value ranging from 0.0 to 100.0.
FIELD_POSSIBILITY_OF_ACTIVITY → const Field
Activity type confidence.
FIELD_POWER → const Field
Power (Watt).
FIELD_PRECISION → const Field
Precision.
FIELD_PROTEIN_RATE → const Field
Protein ratio (percentage).
FIELD_ROTATION → const Field
Rotations.
FIELD_RPM → const Field
Rotations per minute or rate per minute.
FIELD_SKELETAL_MUSCLE_MASS → const Field
Skeletal muscle (kg).
FIELD_SPAN → const Field
Duration.
FIELD_SPEED → const Field
Speed (m/s).
FIELD_STEP_LENGTH → const Field
Step length (m)
FIELD_STEP_RATE → const Field
Step frequency.
FIELD_STEPS → const Field
Step count.
FIELD_STEPS_DELTA → const Field
Steps taken since the last reading.
FIELD_TYPE_OF_ACTIVITY → const Field
Activity type.
FIELD_VISCERAL_FAT_LEVEL → const Field
Visceral fat (level).
FLYING_AFTER_DIVING_TIME → const Field
FORE_FOOT_STRIKE_PATTERN → const Field
FORMAT_DOUBLE → const int
Field that contains Double values.
FORMAT_FLOAT → const int
Field that contains float values.
FORMAT_INT32 → const int
Field that contains integer values.
FORMAT_LONG → const int
Field that contains long integer values.
FORMAT_MAP → const int
Field that contains mapped values.
FORMAT_STRING → const int
Field that contains string values.
GC_TIME_BALANCE → const Field
Left and right ground contact balance.
GO_BED_TIME → const Field
Time when the user goes to bed.
GO_BED_TIME_NEW → const Field
GOLF_BACK_SWING_TIME → const Field
Average backswing time.
GOLF_DOWN_SWING_TIME → const Field
Average downswing time.
GOLF_MAX_SWING_SPEED → const Field
Maximum swing speed.
GOLF_SWING_COUNT → const Field
Total swings.
GOLF_SWING_SPEED → const Field
Average swing speed.
GOLF_SWING_TEMPO → const Field
Average swing tempo (average backswing time/average downswing time).
GRADE → const Field
Stress grade. Value range: [1, 4].
GROUND_CONTACT_TIME → const Field
GROUND_HANG_TIME_RATE → const Field
GROUND_IMPACT_ACCELERATION → const Field
HANG_TIME → const Field
HIND_FOOT_STRIKE_PATTERN → const Field
IMPACT_PEAK → const Field
Active peak.
INTENSITY_MAP → const Field
JUMP_SCORE → const Field
LAST → const Field
Latest value.
LIGHT_SLEEP_TIME → const Field
Light sleep duration.
MAX → const Field
MAX_DEPTH → const Field
Maximum depth of diving.
MAX_RES → const Field
Maximum resistance level supported by the device.
MAX_SKIPPING_TIMES → const Field
MAX_SLOPE_DEGREE → const Field
Maximum slope angle.
MAX_SLOPE_PERCENT → const Field
Maximum slope (in percentages).
MAX_UNDERWATER_TIME → const Field
Maximum duration of a single dive.
MEAL_BREAKFAST → const int
MEAL_DINNER → const int
MEAL_LUNCH → const int
MEAL_SNACK → const int
MEAL_UNKNOWN → const int
Meal types.
MEASURE_COUNT → const Field
Number of stress measurement times. Value range: [1, 2147483647].
MEASURE_TYPE → const Field
Stress measurement flag: active or passive. Value range: [1, 2].
MIN → const Field
MIN_RES → const Field
Minimum resistance level supported by the device.
NO_FLY_TIME → const Field
No-fly time.
NUTRIENTS_FACTS_CALCIUM → const String
Calcium amount (mg).
NUTRIENTS_FACTS_CALORIES → const String
Calories (kcal).
NUTRIENTS_FACTS_CHOLESTEROL → const String
Cholesterol (mg).
NUTRIENTS_FACTS_DIETARY_FIBER → const String
Dietary fiber (g).
NUTRIENTS_FACTS_IRON → const String
Iron amount (mg).
NUTRIENTS_FACTS_MONOUNSATURATED_FAT → const String
Monounsaturated fat (g).
NUTRIENTS_FACTS_POLYUNSATURATED_FAT → const String
Polyunsaturated fat (g).
NUTRIENTS_FACTS_POTASSIUM → const String
Potassium (mg).
NUTRIENTS_FACTS_PROTEIN → const String
Protein amount (g).
NUTRIENTS_FACTS_SATURATED_FAT → const String
Saturated fat (g).
NUTRIENTS_FACTS_SODIUM → const String
Sodium (mg).
NUTRIENTS_FACTS_SUGAR → const String
Sugar amount (g).
NUTRIENTS_FACTS_TOTAL_CARBS → const String
Total carbohydrates (g).
NUTRIENTS_FACTS_TOTAL_FAT → const String
Total fat (g).
NUTRIENTS_FACTS_TRANS_FAT → const String
Trans fat (g).
NUTRIENTS_FACTS_UNSATURATED_FAT → const String
Unsaturated fat (g).
NUTRIENTS_FACTS_VITAMIN_A → const String
Vitamin A amount in international unit (IU).
NUTRIENTS_FACTS_VITAMIN_C → const String
Vitamin C amount (mg).
OFF_BED_TIME → const Field
Time when the user is out of bed for the last time.
OVERALL_SCORE → const Field
PHYSICAL_FITNESS_INDEX → const Field
POOL_LENGTH → const Field
Swimming pool length.
PREPARE_SLEEP_TIME → const Field
Time when the user prepares for sleep.
PULL_TIMES → const Field
Stroke count.
RESISTANCE_LEVEL → const Field
Resistance level.
RESISTANCE_LEVEL_FIVE_LOWER_LIMIT → const Field
Lower limit of resistance level 5.
RESISTANCE_LEVEL_FIVE_TIME → const Field
Activity duration at resistance level 5.
RESISTANCE_LEVEL_FIVE_UPPER_LIMIT → const Field
Upper limit of resistance level 5.
RESISTANCE_LEVEL_FOUR_LOWER_LIMIT → const Field
Lower limit of resistance level 3.
RESISTANCE_LEVEL_FOUR_TIME → const Field
Activity duration at resistance level 4.
RESISTANCE_LEVEL_ONE_LOWER_LIMIT → const Field
Lower limit of resistance level 1.
RESISTANCE_LEVEL_ONE_TIME → const Field
Activity duration at resistance level 1.
RESISTANCE_LEVEL_THREE_LOWER_LIMIT → const Field
Lower limit of resistance level 3.
RESISTANCE_LEVEL_THREE_TIME → const Field
Activity duration at resistance level 3.
RESISTANCE_LEVEL_TWO_LOWER_LIMIT → const Field
Lower limit of resistance level 2.
RESISTANCE_LEVEL_TWO_TIME → const Field
Activity duration at resistance level 2.
RUN_SCORE → const Field
SCORE → const Field
Stress score. Value range: [1, 99].
SKIING_TOTAL_DISTANCE → const Field
Ski distance.
SKIING_TOTAL_TIME → const Field
Ski duration.
SKIP_NUM → const Field
SKIP_SPEED → const Field
SLEEP_EFFICIENCY → const Field
Sleep efficiency (percentage).
SLEEP_LATENCY → const Field
Sleep latency.
SLEEP_RESPIRATORY_TYPE → const Field
SLEEP_RESPIRATORY_VALUE → const Field
SLEEP_SCORE → const Field
Sleep score.
SLEEP_STATE → const Field
Sleep state. Value range: [1,4]
SLEEP_TYPE → const Field
Sleep type.
SPM → const Field
Rowing stroke rate.
SPORT_INTENSITY_SCORE → const Field
STATE_INDEX → const Field
STRESS_AVG → const Field
Average stress score. Value range: [1, 99].
STRESS_LAST → const Field
Latest stress score. Value range: [1, 99].
STRESS_MAX → const Field
Highest stress score. Value range: [1, 99].
STRESS_MIN → const Field
Lowest stress score. Value range: [1, 99].
STUMBLING_ROPE → const Field
SURFACE_INTERVAL_TIME → const Field
SURFACE_TIME → const Field
Surface interval.
SWIMMING_STROKE → const Field
Main stroke.
SWING_ANGLE → const Field
SWOLF → const Field
SWOLF.
TEMPERATURE → const Field
TRAINING_INDEX → const Field
TRIP_TIMES → const Field
Number of trips.
TRIPLE_SHAKE → const Field
TYPE_OF_RESISTANCE_BARBELL → const int
TYPE_OF_RESISTANCE_BODY → const int
TYPE_OF_RESISTANCE_CABLE → const int
TYPE_OF_RESISTANCE_DUMBBELL → const int
TYPE_OF_RESISTANCE_KETTLEBELL → const int
TYPE_OF_RESISTANCE_MACHINE → const int
TYPE_OF_RESISTANCE_UNKNOWN → const int
Types of objects for resistance during an exercise.
UNDERWATER_TEMPERATURE → const Field
VDOT → const Field
VERTICAL_OSCILLATION → const Field
Vertical amplitude.
VERTICAL_RATIO → const Field
Vertical stride ratio.
VO2MAX → const Field
Maximum oxygen uptake.
WAKE_UP_CNT → const Field
Number of times the user is awake.
WAKE_UP_TIME → const Field
Time when the user wakes up, expressed as a Unix timestamp.
WATER_SURFACE_TEMPERATURE → const Field
WATER_TYPE → const Field
Water type.
WHOLE_FOOT_STRIKE_PATTERN → const Field