Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use Object ? instead of dynamic
  • Loading branch information
denrase committed Jul 18, 2023
commit d72d286aab29e847f8663da8a66c409b0c8481d0
4 changes: 2 additions & 2 deletions dio/lib/src/dio_event_processor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class DioEventProcessor implements EventProcessor {
}

/// Returns the request data, if possible according to the users settings.
Object? _getRequestData(dynamic data) {
Object? _getRequestData(Object? data) {
if (!_options.sendDefaultPii) {
return null;
}
Expand Down Expand Up @@ -94,7 +94,7 @@ class DioEventProcessor implements EventProcessor {
}

/// Returns the response data, if possible according to the users settings.
Object? _getResponseData(dynamic data) {
Object? _getResponseData(Object? data) {
if (!_options.sendDefaultPii) {
return null;
}
Expand Down