getAdapter function Null safety

HttpClientAdapter getAdapter()

Returns HTTP adapter for unsupported platform.

Implementation

HttpClientAdapter getAdapter() {
  throw 'Platform is unsupported';
}