Request class final
Parameters for sending one message to multiple broadcast recipients.
Carries requestMeta, messageTemplate, email, and purpose, among other supported fields.
Constructors
-
Request({RequestRequestMeta? requestMeta, RequestMessageTemplate? messageTemplate, EmailMessageInput? email, String? purpose, String? sender, required List<
Object?> recipients}) -
const
-
Request.fromJson(Map<
String, Object?> json) -
factory
Properties
- email → EmailMessageInput?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageTemplate → RequestMessageTemplate?
-
final
- purpose → String?
-
final
-
recipients
→ List<
Object?> -
final
- requestMeta → RequestRequestMeta?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sender → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited