From 4595d0cd4bdcceed3f3da846d5fc85f4febfd497 Mon Sep 17 00:00:00 2001 From: Peter Leibiger Date: Tue, 19 Dec 2023 13:10:23 +0100 Subject: [PATCH] Fix example --- example/lib/extend_dio.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/lib/extend_dio.dart b/example/lib/extend_dio.dart index 1e2e2020b..1918cbea3 100644 --- a/example/lib/extend_dio.dart +++ b/example/lib/extend_dio.dart @@ -2,7 +2,7 @@ import 'package:dio/dio.dart'; import 'package:dio/io.dart'; class HttpService extends DioForNative { - HttpService([BaseOptions? baseOptions]) : super(baseOptions) { + HttpService([super.baseOptions]) { options ..baseUrl = 'https://httpbin.org/' ..contentType = Headers.jsonContentType;