validateEncustodyContext function
Implementation
validateEncustodyContext(BuildContext context) {
if (context.dependOnInheritedWidgetOfExactType<EncustodyContext>() == null) {
throw Exception(
"\n\nEncustodyContext no se encontrĂ³. Asegurese de envolver su app con EncustodyContext"
" \n \n"
"Ejemplo: \n\nfinal encustody = EncustodyContext(\n config: config,\n child: const MyApp()\n)\n"
"\n"
"runApp(encustody)"
"\n\n");
}
}