init static method

void init({
  1. String? targetPath,
})

create files from dart codes. targetPath is the absolute path

Implementation

static void init({String? targetPath}) async {
  await CreateHooks.copyFile(targetPath: targetPath);
}