diff --git a/lib/providers/collection_providers.dart b/lib/providers/collection_providers.dart index ee20f99f..c3f50291 100644 --- a/lib/providers/collection_providers.dart +++ b/lib/providers/collection_providers.dart @@ -84,10 +84,14 @@ class CollectionStateNotifier unsave(); } - void addRequestModel(HttpRequestModel httpRequestModel) { + void addRequestModel( + HttpRequestModel httpRequestModel, { + String? name, + }) { final id = getNewUuid(); final newRequestModel = RequestModel( id: id, + name: name ?? "", httpRequestModel: httpRequestModel, ); var map = {...state!};