setData method

void setData(
  1. Map<String, dynamic> data
)

Implementation

void setData (Map<String,dynamic> data) {
  _data = data;
  notifyListeners();
}