of static method

CamController? of(
  1. BuildContext context
)

Implementation

static CamController? of(BuildContext context) {
  final result =
      context.dependOnInheritedWidgetOfExactType<CamControllerProvider>();
  return result?.action;
}