Skip to content

Feature Request: Adding toJson methods to DTOs #372

@hasimyerlikaya

Description

@hasimyerlikaya

Hi,

I saw that toJson methods are disabled for DTOs.
I don't know why you decided this, but it would be better if you added toJson methods too.

I was debugging with breakpoints, and at one point I decided to print the entitlement response to the console to do better and faster debugging. I realize that there is no toJson method for entitlement.dart.

In some cases we might need to store the conversion responses to our databases. ToJson methods would be helpful for that too.

Can I add toJson methods to DTOs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions