BaseClient class
MGBaseClient
is the base class for all clients.
Any custom clients should extend this class to ensure that any methods in other classes work correctly.
- Implementers
Constructors
- BaseClient(Client client, String domain, String apiKey, String host, Callback? callback)
-
const
Properties
- apiKey → String
-
apiKey is the API key of the Mailgun account used to authenticate requests
final
- callback → Callback?
-
callback is a callback function that is called after every request
final
- client → Client
-
client is the http client used to make requests
final
- domain → String
-
domain is the domain of the Mailgun account
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → String
-
host is the host of the Mailgun API, either
api.eu.mailgun.net
orapi.mailgun.net
final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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