EmailRequest class

Model used for making email request

Constructors

EmailRequest({String? senderEmail, String? senderName, List<String>? cc, List<String>? bcc, String? body, String? subject, required List<String> receivers})
Constructor
const
EmailRequest.fromJson(Map<String, dynamic> json)
Get model from Json
factory

Properties

bcc List<String>?
final
body String?
final
cc List<String>?
final
hashCode int
The hash code for this object.
no setterinherited
receivers List<String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
senderEmail String?
final
senderName String?
final
subject String?
final

Methods

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

Operators

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