getService

abstract fun getService(): Provider<T>(source)

Returns a Provider that will create the service instance when its value is queried.