PrepareWebRequest method
Implementation
void PrepareWebRequest(IEwsHttpWebRequest request) {
final secret = "$userName:$password";
final encodedSecret = base64Encode(utf8.encode(secret));
request.Headers.Add("Authorization", "Basic $encodedSecret");
}