of<T> static method

T of<T>(
  1. Context c
)

You can retrieve the value by using PassTrait.of. The values are passed by type, so you can just get one value per type(of course custom classes are also valid):

Implementation

static T of<T>(Context c) => c.traitOf<T>();