SleepInfo class

Constructors

SleepInfo({required int? totalTime, required int? restfulTime, required int? lightTime, required int? soberTime, required int? remTime, required List<DetailBean> details})
SleepInfo.fromJson(Map<String, dynamic> json)
factory

Properties

details List<DetailBean>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lightTime int?
getter/setter pair
remTime int?
getter/setter pair
restfulTime int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
soberTime int?
getter/setter pair
totalTime int?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Constants

sleepStateLight → const int
sleepStateRem → const int
sleepStateRestful → const int
sleepStateSober → const int