resetData method

void resetData()

Implementation

void resetData() => data = null;