BpData class

An annotation for the code generator to know that this class needs the JSON serialization logic to be generated.

Annotations

Constructors

BpData()
BpData.fromJson(Map<String, dynamic> json)
A necessary factory constructor for creating a new User instance from a map. Pass the map to the generated _$BpDataFromJson() constructor. The constructor is named after the source class, in this case, User.
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
haveProgress bool
True indicates that the watch has return progress, false indicates that there is no progress, and the watch without progress will return data 55 seconds after starting the measurement
read / write
highPressure int
Get the low pressure value, range 20-200, if it is not in this range, please remind the user that the measurement is invalid
read / write
lowPressure int
Set the low pressure value, range 20-200, if it is not in this range, please remind the user that the measurement is invalid
read / write
progress int
Set the measurement progress, range 0-100
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
status EBPDetectStatus
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toJson is the convention for a class to declare support for serialization to JSON. The implementation simply calls the private, generated helper method _$BpDataToJson.
toString() String
A string representation of this object. [...]
inherited

Operators

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