toJson method

Map<String, dynamic> toJson()

Converts this action to its JSON representation.

Returns the raw JSON data associated with this action, or an empty map if no data is available.

Implementation

Map<String, dynamic> toJson() => jsonData ?? {};