setData method

dynamic setData (
  1. dynamic data
)

Implementation

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