Step class

Constructors

Step({String? body, int? createdAt, int? delaySeconds, String? id, int? idx, String? sequenceId, String? subject})
Returns a new Step instance.

Properties

body ↔ String?
Body is the message text. Required. The signed one-click unsubscribe link is appended to it at send time.
getter/setter pair
createdAt ↔ int?
CreatedAt is unix seconds, server-assigned.
getter/setter pair
delaySeconds ↔ int?
DelaySeconds is how long after the previous step this one sends (after enrollment, for step 0).
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the server-assigned step id ("step_" + 128 random bits).
getter/setter pair
idx ↔ int?
Idx is the step's 0-based position, assigned by appending: a new step always lands after the last one.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sequenceId ↔ String?
SequenceID is the sequence this step belongs to.
getter/setter pair
subject ↔ String?
Subject is the email subject line, capped at 1024 bytes.
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJson(dynamic value) → Step?
Returns a new Step instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<Step>
mapFromJson(dynamic json) → Map<String, Step>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<Step>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.