Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tojson pubspec parser #2011

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Dhruv-Maradiya
Copy link
Contributor

Description

Fixes #1801 by adding toJson method in Pubspec class.

Changes

  • Added the toJson serializable to serialize object into map.
  • Added tests to validate functionality round-trip the shape of the source.
  • Updated CHANGELOG.md to document the changes.

Checklist

  • I’ve reviewed the contributor guide and followed the relevant guidelines.
  • Added tests to ensure the new feature works as intended.

@Dhruv-Maradiya Dhruv-Maradiya requested a review from kevmoo January 31, 2025 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can toJson() functionality be included as well?
2 participants