maybeOf static method

LenraSocket? maybeOf(
  1. BuildContext context
)

Implementation

static LenraSocket? maybeOf(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<LenraSocket>();
}