cast<RR, PP> method
Implementation
WidgetHandler<RR, PP> cast<RR, PP>() {
final self = this;
if (self is WidgetHandler<RR, PP>) return self as WidgetHandler<RR, PP>;
return (context, PP? outer) {
return self.call(context, outer as P);
};
}