SmtpResponse class
Contains a response from the SMTP server
Constructors
-
SmtpResponse.new(List<
String> responseTexts) - Creates a new response
Properties
- code → int?
-
The (last) response code
no setter
- errorMessage → String
-
Retrieves the error message
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFailedStatus → bool
-
Checks if the request failed
no setter
- isOkStatus → bool
-
Checks if the request succeeded
no setter
- message → String?
-
The (last) message
no setter
-
responseLines
↔ List<
SmtpResponseLine> -
Individual response lines
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → SmtpResponseType
-
The (last) response type
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited