toJson abstract method

Map<String, Object?> toJson()

The wire form. Keys here are what every surface shows and what an agent parses, so they are part of the action's contract.

Implementation

Map<String, Object?> toJson();