EnrollInput class

Constructors

EnrollInput({String? address, String? audienceId, String? channel, String? id})
Returns a new EnrollInput instance.

Properties

address ↔ String?
Address is a single recipient, normalized (lower-cased, trimmed) before use. Give this OR audienceId, never both and never neither.
getter/setter pair
audienceId ↔ String?
AudienceID fans the sequence out over a saved audience, resolved live to the org's mailable customers. Email only.
getter/setter pair
channel ↔ String?
Channel is the delivery surface; empty means email. An audience resolves mailboxes, so an audience enroll must be email.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the sequence id from the path.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

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