DeviceInfo class

Constructors

DeviceInfo({String? uuid, String? deviceManufacturer, String? modelName, int? deviceType, int? platformType, bool? fromBleDevice})
DeviceInfo.fromMap(Map map)
factory

Properties

deviceManufacturer String?
getter/setter pair
deviceType int?
getter/setter pair
fromBleDevice bool?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
modelName String?
getter/setter pair
platformType int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uuid String?
getter/setter pair

Methods

getDeviceTypeById(int deviceType) String
getDeviceTypeByString(String deviceType) int
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

PLATFORM_DEFAULT → const int
Default platform.
PLATFORM_OTHER → const int
Platform other than the default one.
STR_TYPE_BLOOD_GLUCOSE_MONITOR → const String
Presentation of the blood glucose monitor as a string.
STR_TYPE_BLOOD_PRESSURE_MONITOR → const String
Presentation of the blood pressure monitor as a string.
STR_TYPE_ECG_EQUIPMENT → const String
ECG equipment represented as a string.
STR_TYPE_ELLIPTICAL_MACHINE → const String
Elliptical machine represented as a string.
STR_TYPE_EXERCISE_BIKE → const String
Spinning bike represented as a string.
STR_TYPE_HEART_RATE_MONITOR → const String
Presentation of the heart rate monitor as a string.
STR_TYPE_OXIMETER → const String
Oximeter represented as a string.
STR_TYPE_PHONE → const String
Presentation of the phone as a string.
STR_TYPE_ROPE_SKIPPING → const String
Jump rope represented as a string.
STR_TYPE_ROWING_MACHINE → const String
Rowing machine represented as a string.
STR_TYPE_SCALES → const String
Presentation of the smart scale as a string.
STR_TYPE_SMART_BAND → const String
Presentation of the smart band as a string.
STR_TYPE_SMART_EARPHONE → const String
Presentation of the smart earphones as a string.
STR_TYPE_SMART_WATCH → const String
Presentation of the smart watch as a string.
STR_TYPE_THERMOMETERS → const String
Thermometer represented as a string.
STR_TYPE_THIRD_WATCH → const String
Third-party watch represented as a string.
STR_TYPE_TREADMILL → const String
Treadmill represented as a string.
STR_TYPE_UNKNOWN → const String
Presentation of the unknown device as a string.
STR_TYPE_WALKING_MACHINE → const String
Walking machine represented as a string.
TYPE_BLOOD_GLUCOSE_MONITOR → const int
Blood glucose monitor.
TYPE_BLOOD_PRESSURE_MONITOR → const int
Blood pressure monitor.
TYPE_ECG_EQUIPMENT → const int
ECG equipment.
TYPE_ELLIPTICAL_MACHINE → const int
Elliptical machine.
TYPE_EXERCISE_BIKE → const int
Spinning bike.
TYPE_HEART_RATE_MONITOR → const int
Heart rate monitor.
TYPE_OXIMETER → const int
Oximeter.
TYPE_PHONE → const int
Mobile phones.
TYPE_ROPE_SKIPPING → const int
Jump rope.
TYPE_ROWING_MACHINE → const int
Elliptical machine.
TYPE_SCALES → const int
Smart scale.
TYPE_SMART_BAND → const int
Smart band.
TYPE_SMART_EARPHONE → const int
Smart earphones.
TYPE_SMART_WATCH → const int
Smart watch.
TYPE_THERMOMETERS → const int
Thermometer.
TYPE_THIRD_WATCH → const int
Third-party watch.
TYPE_TREADMILL → const int
Treadmill.
TYPE_UNKNOWN → const int
Unknown device.
TYPE_WALKING_MACHINE → const int
Walking machine.