setHttpAuthCredential method

Future<void> setHttpAuthCredential({
  1. required URLProtectionSpace protectionSpace,
  2. required URLCredential credential,
})

Saves an HTTP auth credential for that protectionSpace.

Officially Supported Platforms/Implementations:

Implementation

Future<void> setHttpAuthCredential(
    {required URLProtectionSpace protectionSpace,
    required URLCredential credential}) {
  throw UnimplementedError(
      'setHttpAuthCredential is not implemented on the current platform');
}