effectiveBaseUrl property
String
get
effectiveBaseUrl
Get the effective base URL (from environment or explicit baseUrl)
Implementation
String get effectiveBaseUrl {
if (baseUrl != null && baseUrl!.isNotEmpty) {
return baseUrl!;
}
if (environment != null) {
return _environmentEndpoints[environment!]!;
}
return _environmentEndpoints[
GoMailerEnvironment.production]!; // Default to production
}