ResilienceContributors class

Available extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

ResilienceContributors.new({required double sleepRecovery, required double daytimeRecovery, required double stress})
const
ResilienceContributors.fromJson(Map<String, dynamic> json)
factory

Properties

daytimeRecovery double
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sleepRecovery double
final
stress double
final

Methods

copyWith({double? sleepRecovery, double? daytimeRecovery, double? stress}) ResilienceContributors

Available on ResilienceContributors, provided by the $ResilienceContributorsExtension extension

copyWithWrapped({Wrapped<double>? sleepRecovery, Wrapped<double>? daytimeRecovery, Wrapped<double>? stress}) ResilienceContributors

Available on ResilienceContributors, provided by the $ResilienceContributorsExtension 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 ResilienceContributors Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(ResilienceContributors instance)