setData method

dynamic setData(
  1. dynamic data
)

Write data to controller

Implementation

setData(dynamic data) {
  this.data = data;
}