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,
  };
}