CountdownRepeat class Null safety

Condition under which a countdown is to be repeated

Implemented types
Annotations

Constructors

CountdownRepeat({required Duration every, required Duration after})
const
CountdownRepeat.fromJson(Map<String, dynamic> json)
Create a countdown from json
factory

Properties

after Duration
How long after the previous countdown completion to set the next
final
every Duration
Duration between the previous and next countdown completion
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Json
Get json representation of the countdown
override
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

repeatToJson(CountdownRepeat? instance) Json
Allows creation of json representation of instance. [...]