class DataEvent {
final DataModel _model;
final String _type;
DataEvent(DataModel model, String type): _model = model, _type = type;
/** Returns the type of this event.
*/
String get type => _type;
/** Returns the data model of this event.
*/
DataModel get model => _model;
String toString() => "$type()";
}