MindfulnessModeDisplayItem class Null safety

A Mindfulness Mode instruction that can be displayed.

Inheritance
Implementers

Constructors

MindfulnessModeDisplayItem({required Duration duration, required Duration time})
const

Properties

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