of static method
Calling AtContext.of(context) in the widget tree will provide you with the nearest instance of AtContext containing all of the getters for this class.
Implementation
static AtContext of(BuildContext context) {
var atContext = context.dependOnInheritedWidgetOfExactType<AtContext>();
assert(atContext != null);
return atContext!;
}