Converts this object into json representation.
@override Map<String, Object?> toJson() { return <String, Object?>{ InsanichessGameEventJsonKey.type: type.toJson(), }; }