DIGenerator class
Generates lib/src/di/zuraffa_injection.g.dart from collected
@Datasource and @Repository metadata.
Constructors
- DIGenerator({String targetEnv = '*'})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasRegistrations → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- targetEnv → String
-
final
Methods
-
addDatasource(
{required String name, required String className, required String importUri, String? interfaceName, required String scope, required List< String> env, required List<ConstructorParam> constructorParams}) → void -
addRepository(
{required String name, required String className, required String importUri, String? interfaceName, required List< ConstructorParam> constructorParams}) → void -
generate(
) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited