isKeyedService property

bool get isKeyedService

Indicates whether the service is a keyed service.

Implementation

bool get isKeyedService => serviceKey != null;