clearData method Null safety

void clearData()

Implementation

void clearData() {
  _groupData.clear();
  _dataContact.clear();
  notifyListeners();
}