ServiceFactory<T> typedef

ServiceFactory<T> = T Function(String uri, {Map<String, Object?>? kwargs})

Factory signature used to build services from URI-based configuration.

Implementation

typedef ServiceFactory<T> =
    T Function(String uri, {Map<String, Object?>? kwargs});