Service<R> constructor

const Service<R>(String name, ServiceType type)

Implementation

const Service(this.name, this.type);