diff --git a/dio/lib/src/options.dart b/dio/lib/src/options.dart index e749caae0..f31b4e3d1 100644 --- a/dio/lib/src/options.dart +++ b/dio/lib/src/options.dart @@ -20,6 +20,8 @@ import 'utils.dart'; /// {@endtemplate} typedef ProgressCallback = void Function(int count, int total); +typedef Foo = void Function(int count, int total); + /// Indicates which transformation should be applied to the response data. enum ResponseType { /// Transform the response data to JSON object only when the