maybeOf static method
Implementation
static ElFormController? maybeOf(BuildContext context) {
try {
return context.read<ElFormController>();
} on ProviderNotFoundException {
return null;
}
}
static ElFormController? maybeOf(BuildContext context) {
try {
return context.read<ElFormController>();
} on ProviderNotFoundException {
return null;
}
}