toMap method
Creates a map with the attributes of this class
Implementation
Map<String, dynamic> toMap() {
return {
'type': type,
'platform': platform,
'attributes': attributes,
'component': component,
'beagleAction': beagleAction,
'event': event,
'additionalEntries': additionalEntries,
'timestamp': timestamp,
'screen': screen,
};
}