IntervalBlock class

Represents an interval block

Constructors

IntervalBlock({required int iterations, required List<IntervalStep> steps, required IntervalBlockType type})
Creates a new interval block

Properties

hashCode int
The hash code for this object.
no setterinherited
iterations int
The number of iterations of the block
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
steps List<IntervalStep>
The steps of the block
final
type IntervalBlockType
The type of the block
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the interval block to a JSON object
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) IntervalBlock
Creates a new interval block from a JSON object