of<T extends Object> static method

Context<T> of<T extends Object>(
  1. T service
)

Creates a context with a single service

Implementation

static Context<T> of<T extends Object>(T service) =>
    Context._({T: service});