MethodFilterGate constructor
MethodFilterGate({})
Implementation
MethodFilterGate(
{Key? key,
required this.child,
this.allowedMethods = const [],
this.blockedMethods = const []})
: assert(() {
for (var blocked in blockedMethods) {
if (allowedMethods.contains(blocked)) {
return false;
}
}
return true;
}(), "Allowed Methods Contains Blocked Methods"),
super(key: key);