J

Json2Dart Safe Convert

JetBrains

a7bd22f1-6c86-4b71-94f9-d7f3c24d3af7 · v—

json2dart Description It's a flutter plugin that use for parsing json to dart class with safe type convert. What it do It will generate a dart file named "safe_convert.dart" to ensure dart object can be converted to correct type, if failed, it will get a default value. For example, when you need a int type, but the server offer you a String type. It will auto convert String to int and make sure that,

Code Tools
Open in store ↗ id: 14921
Downloads
17K
16 766
Rating
4.1 ★
2 ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

4.1 ★ 2 ratings
5★ 100.0%

Reviews 2

★★★★★ Sumit Mehra 2023-08-15

It would be so nice if it generates copyWith method also.

★★★★★ 尹旭 2022-08-16

good plus,i like

Similar in “Code Tools”