of static method
Implementation
static DAQProvider of(BuildContext context) {
final DAQProvider? result = context
.dependOnInheritedWidgetOfExactType<DAQProvider>();
assert(
result != null,
'DAQ provider not found! Need to wrap the app in a DAQ provider widget',
);
return result!;
}