@@ -12,6 +12,16 @@ abstract class ICoreDio {
1212 Map <String , Object > queryParameters,
1313 void Function (int , int ) onReceiveProgress});
1414}
15+ // MARK: Null SAfety
16+
17+ abstract class ICoreDioNullSafety {
18+ Future <IResponseModel <R >> send <R , T extends BaseModel >(String path,
19+ {@required HttpTypes type,
20+ @required T parseModel,
21+ dynamic data,
22+ Map <String , Object > queryParameters,
23+ void Function (int , int ) onReceiveProgress});
24+ }
1525
1626abstract class ICoreDioFull extends ICoreDio {
1727 Future <IResponseModel <R >> fetchNoNetwork <R , T extends BaseModel >(String path,
@@ -21,3 +31,13 @@ abstract class ICoreDioFull extends ICoreDio {
2131 Map <String , Object > queryParameters,
2232 void Function (int , int ) onReceiveProgress});
2333}
34+
35+ // MARK: Nul SAfety
36+ abstract class ICoreDioFullNulSafetyFull extends ICoreDioNullSafety {
37+ Future <IResponseModel <R >> fetchNoNetwork <R , T extends BaseModel >(String path,
38+ {@required HttpTypes type,
39+ @required T parseModel,
40+ dynamic data,
41+ Map <String , Object > queryParameters,
42+ void Function (int , int ) onReceiveProgress});
43+ }
0 commit comments