clearData method
Clears the data by key
Implementation
@override
bool clearData([Object? key]) {
final _key = key ?? typeName;
if (dataMap.containsKey(_key)) {
dataMap.remove(_key);
super.clearData(_key);
return true;
}
return super.clearData(_key);
}