apidash_core: contents moved into better_networking package

This commit is contained in:
Manas Hejmadi
2025-06-17 23:55:16 +05:30
parent 330e1b82e6
commit 6558a4028e
32 changed files with 2347 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
import '../consts.dart';
import '../models/models.dart';
String? getGraphQLBody(HttpRequestModel httpRequestModel) {
if (httpRequestModel.hasQuery) {
return kJsonEncoder.convert({
"query": httpRequestModel.query,
});
}
return null;
}