Skip to content

dartコードやjsonのモックを作成するコーデジェネレーター。

License

Notifications You must be signed in to change notification settings

RyoheiKawamon/CodeGanerator

Repository files navigation

CodeGanerator

jsonからfreezedのコードを生成&文字列を増幅したモックデータを作成します。

使用例

入力されたjsonとString型の値が増幅されたjson

スクリーンショット 2023-11-03 19 54 18 スクリーンショット 2023-11-03 19 55 18

jsonから生成されたfreezedモデル

スクリーンショット 2023-11-03 20 01 59

使用手順

  1. input/input.jsonにjsonオブジェクトを入力します。
  2. 以下のコマンドを実行します。python3 generate.py

###出力先

  • output/freezed_output.dartにfreezedのモデルが出力されます。
  • output/freezed_output.dartにfreezedのモデルが出力されます。

About

dartコードやjsonのモックを作成するコーデジェネレーター。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages