global property

DI get global

A predefined container recommended for global dependencies. This container is a child of root.

Implementation

@pragma('vm:prefer-inline')
static DI get global => root.child(groupEntity: const GlobalEntity());