of static method

ShareUserData? of(
  1. BuildContext context
)

Implementation

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