toJson abstract method

Map<String, Object?> toJson()

What this block is on the wire. Every kind writes its own shape.

Implementation

Map<String, Object?> toJson();