getDataMap method

  1. @override
Map<String, dynamic> getDataMap()
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,
  };
}