wrapProvider method
Wraps child with a typed WildnessComponentProvider for this component.
Implementation
Widget wrapProvider({required Widget child, Key? key}) {
return WildnessComponentProvider<T>(
key: key,
data: this as T,
child: child,
);
}