DailyReadinessModel class

Available extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

DailyReadinessModel.new({required String id, required ReadinessContributors contributors, required DateTime day, required dynamic score, required dynamic temperatureDeviation, required dynamic temperatureTrendDeviation, required String timestamp})
const
DailyReadinessModel.fromJson(Map<String, dynamic> json)
factory

Properties

contributors ReadinessContributors
final
day DateTime
final
hashCode int
The hash code for this object.
no setteroverride
id String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score → dynamic
final
temperatureDeviation → dynamic
final
temperatureTrendDeviation → dynamic
final
timestamp String
final

Methods

copyWith({String? id, ReadinessContributors? contributors, DateTime? day, dynamic score, dynamic temperatureDeviation, dynamic temperatureTrendDeviation, String? timestamp}) DailyReadinessModel

Available on DailyReadinessModel, provided by the $DailyReadinessModelExtension extension

copyWithWrapped({Wrapped<String>? id, Wrapped<ReadinessContributors>? contributors, Wrapped<DateTime>? day, Wrapped? score, Wrapped? temperatureDeviation, Wrapped? temperatureTrendDeviation, Wrapped<String>? timestamp}) DailyReadinessModel

Available on DailyReadinessModel, provided by the $DailyReadinessModelExtension extension

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.
override

Operators

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

Constants

fromJsonFactory → const DailyReadinessModel Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(DailyReadinessModel instance)