MindfulnessModeQuote class Null safety

A Mindfulness Mode quote.

Inheritance
Annotations

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.
@JsonKey(name: 'duration', fromJson: MindfulnessModeItem._readDuration)finalinherited
hashCode int
The hash code for this object.
read-onlyoverride
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
text String
The quote text.
@JsonKey(name: 'text')final
time Duration
The time to use the item at.
@JsonKey(name: 'time', fromJson: _readDuration)finalinherited

Methods

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

Operators

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