Skip to content

Commit

Permalink
🚚 Rename the parameter of DioForBrowser (#2368)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 authored Jan 28, 2025
1 parent 0b0f527 commit 8928e46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/web_adapter/lib/src/dio_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Dio createDio([BaseOptions? options]) => DioForBrowser(options);
class DioForBrowser with DioMixin implements Dio {
/// Create Dio instance with default [Options].
/// It's mostly just one Dio instance in your application.
DioForBrowser([BaseOptions? options]) {
this.options = options ?? BaseOptions();
DioForBrowser([BaseOptions? baseOptions]) {
options = baseOptions ?? BaseOptions();
httpClientAdapter = BrowserHttpClientAdapter();
}

Expand Down

0 comments on commit 8928e46

Please sign in to comment.