of static method
Implementation
static InheritedUser of(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<InheritedUser>()!;
static InheritedUser of(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<InheritedUser>()!;