MindfulnessModeQuote class

A Mindfulness Mode quote.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

MindfulnessModeQuote({required String text, required Duration duration, required Duration time})
const
MindfulnessModeQuote.fromJson(Map<String, dynamic> json)
factory

Properties

duration Duration
The duration to display the item for.
finalinherited
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
The quote text.
final
time Duration
The time to use the item at.
finalinherited

Methods

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

Operators

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