currentService top-level property

Provider<ClientService> currentService
final

Provider of current service - default is stubClientServiceProvider, to be overridden.

Implementation

final currentService =
    Provider<ClientService>((ref) => ref.read(stubClientServiceProvider),
        // TODO: handle loading nicer
        dependencies: [currentClient]);