of static method

ContactProvider? of(
  1. BuildContext context
)

Implementation

static ContactProvider? of(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<ContactProvider>();
}