https://plugins.jetbrains.com/plugin/12562-jsontodart just like this we need single file clas option in settings!