unknownJson

Deprecated

since 200.8.0. Use JsonSerializable.toJson() to get all the object's JSON data.

Replace with

JsonSerializable.toJson()