getHttpRequestModel() -> getHttpRequestModelList()

This commit is contained in:
Ashita Prasad
2024-12-25 05:25:58 +05:30
parent 80107c7aa1
commit 5b0a6aab7c
4 changed files with 8 additions and 8 deletions

View File

@@ -2,12 +2,12 @@ import 'package:apidash/consts.dart';
import 'package:apidash_core/apidash_core.dart';
class Importer {
Future<List<HttpRequestModel>?> getHttpRequestModel(
Future<List<HttpRequestModel>?> getHttpRequestModelList(
ImportFormat fileType,
String content,
) async {
return switch (fileType) {
ImportFormat.curl => CurlIO().getHttpRequestModel(content),
ImportFormat.curl => CurlIO().getHttpRequestModelList(content),
ImportFormat.postman => null
};
}