You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pleas add if it is possible to generated classes(*.g.dart) .toJson() method
class MyTableItemsResult { fields ... toJson(){..return all fields in json format} }
The text was updated successfully, but these errors were encountered:
For what do you need json serialization here? You can probably get close to this already by enabling the raw_result_set_databuilder option. Then you can use QueryRow.data to get access to the underlying fields.
If you need more complex serialization features, I suggest writing your own data class and then using custom result classes.
Pleas add if it is possible to generated classes(*.g.dart) .toJson() method
class MyTableItemsResult { fields ... toJson(){..return all fields in json format} }
The text was updated successfully, but these errors were encountered: