ServerpodCloudEmailClient constructor
ServerpodCloudEmailClient({})
Creates a new ServerpodCloudEmailClient.
Pass httpClient to inject a custom HTTP client (e.g. for testing),
baseUrl to target a different service endpoint (defaults to
defaultBaseUrl), and timeout to bound the request duration (defaults to
defaultTimeout).
Implementation
ServerpodCloudEmailClient({
this.baseUrl = defaultBaseUrl,
this.timeout = defaultTimeout,
final http.Client? httpClient,
}) : _httpClient = httpClient ?? http.Client();