of<T> static method
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>();