JsonRender constructor
JsonRender(
- dynamic data
Constructor to initialize the JsonRender with the given data.
The data parameter is the dynamic data that will be converted to JSON format.
Implementation
JsonRender(this.data);