renderData method

Future<Map<String, Object?>> renderData()

Processes and returns the data for the view.

This method returns the params map by default, but can be overridden in derived classes to implement custom data processing logic.

Example:

@override
Future<Map<String, Object?>> renderData() async {
  return {'key': 'value'};
}

Implementation

Future<Map<String, Object?>> renderData() async {
  return params;
}