ForwardEmailOptions class

Constructors

ForwardEmailOptions({List<String> to = const [], String? subject, List<String>? cc = const [], List<String>? bcc = const [], String? from, bool? useInboxName, bool? filterBouncedRecipients})
Returns a new ForwardEmailOptions instance.

Properties

bcc List<String>?
Optional bcc recipients
getter/setter pair
cc List<String>?
Optional cc recipients
getter/setter pair
filterBouncedRecipients bool?
Filter recipients to remove any bounced recipients from to, bcc, and cc before sending
getter/setter pair
from String?
Optional from override
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subject String?
Subject for forwarded email
getter/setter pair
to List<String>
To recipients for forwarded email
getter/setter pair
useInboxName bool?
Optionally use inbox name as display name for sender email address
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) ForwardEmailOptions?
Returns a new ForwardEmailOptions instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<ForwardEmailOptions>
mapFromJson(dynamic json) Map<String, ForwardEmailOptions>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<ForwardEmailOptions>>

Constants

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