make<T> static method
Resolve a service from the container.
final db = Magic.make<DatabaseConnection>('database');
See MagicApp.make for more details.
Implementation
static T make<T>(String key) {
return app.make<T>(key);
}
Resolve a service from the container.
final db = Magic.make<DatabaseConnection>('database');
See MagicApp.make for more details.
static T make<T>(String key) {
return app.make<T>(key);
}