ServerClient class

Inheritance

Constructors

ServerClient(String apiKey, [MandrillOptions? options])

Properties

apiKey String
finalinherited
hashCode int
The hash code for this object.
no setterinherited
options MandrillOptions
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call<T extends MandrillResponse>(String path, Map body, T responseCoding, {ResponseParser<T>? responseParser}) Future<T>
inherited
handleResponse(int statusCode, String body) → dynamic
Parses the body and returns a Map of the decoded json. If the statusCode is not 200, then a MandrillException is thrown.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
request(Uri uri, Map<String, String> headers, String body) Future
The function that does the actual HTTP request.
override
toString() String
A string representation of this object.
inherited

Operators

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