feat: implement instance/provide annotations

This commit is contained in:
Sergey Penkovsky
2025-05-21 00:50:57 +03:00
parent 7914d91653
commit 14dce2aafa
4 changed files with 53 additions and 9 deletions

View File

@@ -16,5 +16,6 @@ library;
export 'src/module.dart';
export 'src/bind.dart';
export 'src/provide.dart';
export 'src/instance.dart';
export 'src/singleton.dart';
export 'src/named.dart';

View File

@@ -0,0 +1,17 @@
//
// Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com)
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// ignore: camel_case_types
class instance {
const instance();
}