getDataMap method
override
Returns the event's data object.
Implementation
@override
Map<String, dynamic> getDataMap() {
return <String, dynamic> {
'message': message,
'textDirection': textDirection.index,
if (assertiveness != Assertiveness.polite)
'assertiveness': assertiveness.index,
};
}