create static method

void create(
  1. String projectPrefix,
  2. String savePath,
  3. List<GenClassBean> genClassBeans
)

Implementation

static void create(
    String projectPrefix, String savePath, List<GenClassBean> genClassBeans) {
  if (projectPrefix.isEmpty) {
    projectPrefix = "PSG"; // platforms source generator
  }
  _createHeaderFile(projectPrefix, savePath, genClassBeans);
  _createImplementFile(projectPrefix, savePath, genClassBeans);
}